Home / Laravel

Laravel

How to install and configure downloaded Laravel Project on localhost

Open command prompt go to project directory and update composer using this command : composer update . Rename .env.example file to .env Change database name, user name and password. Go to app/Providers/AppServiceProviders.php and add following code in boot function: Schema::defaultStringLength(191); Now migrate database using this command: php artisan migrate Run …

Read More »