Laravel new project procedures

Procedures:

  1. New Laravel installation
  2. Create model, migration and controller
  3. Build routes and controller
  4. Design views/layouts
  5. Deploy application

Codes:

Make Data Model

php artisan make:model <table> -m

Migration

php artisan migrate

Create controller

php artisan make:controller <dir/file>

Create Blade layout –

php artisan make:view layouts.app 
php artisan make:view products.index

Deploy project

php artisan serve