try this one
php artisan make:controller UserController --resource
abridged
php artisan make:controller UserController -r
For Laravel 5.4:
Added additional option.
php artisan make:controller UserController -m=[MODEL_NAME]
this will make the controller with the entire resource method and the corresponding model
source
share