Awn Ali Awn Ali - 7 months ago 67
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

try this one

php artisan make:controller UserController --resource