How do we create a plain controller in Laravel 8.1 ( –plain does not exist in the new version) [closed]

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

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top