Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

the --plain command does not exist

Short

Now in Laravel 5.2 make:controller command creates plain controller, if you want to make resource
controller you need to add --resource

php artisan make:controller AdminController --resource

Before, Laravel 5.2 --plain was used to make a simple controller without builtin routes ands methods.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #command #exist
ADD COMMENT
Topic
Name
3+3 =