create controller inside the folder laravel 8 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