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

Comments