laravel create migration model controller and resource in subfolder code example
Example: 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