Skip to content
Advertisement

Laravel 8.1, –plain option does not exist [closed]

$php artisan make:Controller UserController --plain

when when executing the above code i got the --plain option does not exist,anyone help im new to Laravel

Advertisement

Answer

Before, Laravel 5.2 --plain was used to make a simple controller without builtin routes and methods. Now :

php artisan make:controller UserController

Works the same as --plain.

You can see all possible option by :

php artisan make:Controller --help

See the official documentation of Controllers

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement