how to make controller in specific folder laravel code example
Example 1: php artisan create controller inside folder
php artisan make:controller App\\pathName/controllerName
Example 2: how to create controller in specific folder laravel
php artisan make:controller frontend/HomePageController --resource
Example 3: 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