1. Setup

Install Laravel via Composer

composer create-project laravel/laravel <foldername>

cd <foldernam>

php artisan serve

Configure environment for website

Create database

  1. create database for the website, name laravel

  2. Set APP_DEBUG =TRUE to debug

  3. Create tables

    1. php artisan migrate

2. insert an user name admin

3. create password which will be generated based on the APP_KEY

php artisan tinker

echo bcrypt('123456')

copy the generation key and paste into the table