1} Turn on server

php artisan serve

2} Create a Laravel data table

php artisan make:migration create_demos_table –create=demos

3} Migrating Data

php artisan migrate

4} Create Controller

php artisan make:Controller DemoController

5} Create a model

php artisan make:model Demo

6} Create a bridge between the quick build model and JSON return data

php artisan make:resource Demo

7} Create an interface key

php artisan key:generate

8} Clear view cache

php artisan view:clear

9} Clear Configuration cache

php artisan config:clear

10} Clear the cache

php artisan cache:clear

11} Create Data

php artisan tinker

Leave a Reply