Как создать контроллер в определенной папке Laravel
php artisan make:controller frontend/HomePageController --resource
Copy Paster
php artisan make:controller frontend/HomePageController --resource
php artisan make:controller subfolder/SomeController
Want to create controller in a folder? use it like this:
php artisan make:controller NameOfFolder/nameOfController
php artisan make:controller App\\pathName/controllerName