I created the module in Laravel 5 ie at the same level as the application folder, as part of creating the HMVC structure in Laravel. I have two modules in the module folder, one of which is the project folder and the other is the form folder. Now I got the controller, model and view inside these folders.
Click here to view the folder structure.
Now when I try to access my controller, for example
Route::controller('project/dashboard', 'ProjectController@index');
I get an error
ReflectionException in ControllerInspector.php line 35: Class ProjectController does not exist
I would like to learn about controller routing in a modular structure in Laravel.
laravel-5
Nayana Francis Nov 30 '15 at 10:34 2015-11-30 10:34
source share