make controller in sub folder code example Example: laravel php artisan make:controller in subfolder php artisan make:controller subfolder/SomeController