I\'m new to Laravel. To try and keep my app organized I would like to put my controllers into subfolders of the controller folder.
controllers\\
---- folder1
I had this problem recently with laravel 5.8 but i underestand I should define controller in a right way like this below:
php artisan make:controller SubFolder\MyController // true
Not like this:
php artisan make:controller SubFolder/MyController // false
Then you can access the controller in routes/web.php like this:
Route::get('/my', 'SubFolder\MyController@index');