how to create controller in folder in laravel using cmd code example
Example 1: how to create controller inside folder in laravel
Want to create controller in a folder? use it like this:
php artisan make:controller NameOfFolder/nameOfController
Example 2: laravel controller create command in a folder
However, if you would like to create it in a custom directory then refer to the line below:
php artisan make:controller pathName/controllerName