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