More relevant code welcome :-) Looks like you want to do Hierarchical model–view–controller (HMVC) with Laravel.
I've accomplished the goal by extending the application, router and controllerDispatcher classes to point to my desired structure.
However, as I already stated, I already had the concept down, and it wasn't HMVC, as that would suggest a specific hierarchy, and insist that, a user controller class can use methods or even invoke another controller, which is not what I wanted. Thanks anyway.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community