1# to make only Model Class
2php artisan make:model Customer
3
4# to make resource controller
5php artisan make:controller CustomersController --resource
6
7# make controller for already existing Model Class (binded to model)
8php artisan make:controller CustomersController --model=Customer
9
10# to make model, migration and controller all in one command
11php artisan make:model User -mcr
12# here m for migration, c for controller, r for resource methods in controller
13