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. Can someone tell how i can do that. Thanks
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1NTgMta
via IFTTT
Hi,
RépondreSupprimerTo scaffold it with all basic methods, now in Laravel 5.2 you need to generate the controller with --resource flag.
E.g php artisan make:controller UserController --resource
See you!