Awn Ali Awn Ali - 1 year ago 151
PHP Question

Scaffold Controller Laravel 5.2 Artisan

I am running following command:

php artisan make:controller UserController


This is successfully creating Controller but I want to scaffold it with all the basic methods. How can I do that?

Answer Source

try this one

php artisan make:controller UserController --resource