laravel create controller with model in given folder code example
Example 1: how to create controller in specific folder laravel
php artisan make:controller frontend/HomePageController --resource
Example 2: 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