Posts

Laravel Installation and Quick Start Guide

Laravel Quick Start For those who are searching for a way to install and configure Laravel in right way can be go through following steps. At the time of writing Laravel version is Laravel Framework 5.4.33. You can download the full source code from here . This is all about quick way of doing. Good Luck :) Hope you have installed composer  the php package manager. composer create-project --prefer-dist laravel/laravel LaravelQuickStart Create Database laravelquickstart in Mysql Open .env file and add db params php artisan migrate If it throws any error like "Specified key was too long; max key length is 1000 bytes". Open \LaravelQuickStart\app\Providers\AppServiceProvider.php add following lines use Illuminate\Support\Facades\Schema; In boot method add Schema::defaultStringLength(191); Run php artisan migrate php artisan tinker Create a user. User::create(['name'=>'admin','email'=>'admin@gmail.com','