1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
//create controller php artisan make:controller PhotoController --resource //create model php artisan make:model Flight //If you would like to generate a database migration when you generate the model, you may use the --migration or -m option: php artisan make:model Flight -m //create controller & model php artisan make:controller PhotoController --resource --model=Photo //For current tools system php artisan make:model Models/XXXXXX |