Tuesday, August 23, 2016

Install laravel 5.3 in Ubuntu 14.04

Once again Laravel comes with many amazing features and i can't wait more to try this all out. In this post i am going to write how to setup laravel 5.3 in Ubuntu 14.04. I am planning on making...

Laravel Elixir Setup and Uses

Laravel Elixir provides a clean, fluent API for defining basic Gulp tasks for your Laravel application. Elixir supports several common CSS and JavaScript pre-processors, and even testing tools....

Sunday, August 14, 2016

Integrate Redis on Laravel 5.2

In this tutorial i am going to write basic steps to integrate Redis with laravel 5.2  Steps First Install Redis server on your system. I am using  Ubuntu 14.04. Following commands will...

Saturday, August 13, 2016

Opencart 2.3 landing page Bisection

I am new to opencart 2.3 and i am learning through debugging how this e-commerce platform working. In this post , i am writing about changing landing page which is changing route common/home to something new. i.e uncommon/home I have been trying to find the root from where opencart 2.3 is routing...

Setting up header to collect data from API

Get data from api Set header : header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: GET, POST, OPTIONS'); header('Access-Control-Allow-Headers: Origin, Content-Type, Accept, Authorization, X-Request-With'); header('Access-Control-Allow-Credentials: true'); now get Get...

Laravel Project Setup Using Composer

In this tutorial i’ll write the key points that are necessary to create a laravel project/setting a laravel project with the help of composer. Composer Setup First We have to understand what is composer? Well, Composer is a tool used in PHP for dependency management. It allows us to declare the dependent...

Install LAMP and PHPmyAdmin && PHPpgAdmin on Ubuntu 14.04

Install LAMP Steps are: sudo apt-get update sudo apt-get install apache2 sudo apt-get install mysql-server php5-mysql sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt sudo gedit /etc/apache2/conf-available/serve-cgi-bin.conf Add this line at the end of the file: ServerName localhost   ...

Laravel 5.2 Implicit model binding

In Laravel 5.2 new feature called implicit model binding added. Which can be implement efficiently and in a very easy manner. Here how its done : In your routes.php file create a new route Route::get('user',function(){}); Now if you want to retrieve information of a particular user, modify your...

Laravel 5.2 using queue to send email

To sent email after desired number of second, first change the .env file as follow. First provide database credential set QUEUE_DRIVER=sync to QUEUE_DRIVER=database Normally , QUEUE_DRIVER=sync tries to sent email immediately and if we set it as database, we can sent email after desired number...

Laravel 5.2 queuing Event listeners

First , we need to create Event and to listen event, we also have to create listener. To do this , laravel provides us several ways. The easiest way to create event and corresponding listener we can use this command php artisan event:generate To make it work, we have to define our event and corresponding...

Create Your own command on Laravel 5.2

In Laravel application , when you try this command php artisan you would see lots of command for laravel application. So if you want to create your own command, laravel provide you very easy way...

Wednesday, August 10, 2016

Tuesday, August 9, 2016