Support the ongoing development of Laravel.io →
Requests Architecture
Last updated 2 years ago.
0

I am not sure about the separate routes according to the specific controllers but you can use modules structure in laravel by using this plugin(https://github.com/bstrahija/laravel-modules-example) . It will allowed you to create routes according to the module. Hope this will help you but as per your concern each controller will have it's own route file might not be possible or it can be acheive by some customization code, but for this we have to do research ! :)

Last updated 2 years ago.
0

Well if you wanted to separate out groups of routes into their own route files you could use 'includes' in the main routes.php file to then load a handful of other route files...

include('x_routes.php'); include('y_routes.php');

This should do what you want... unless I've misunderstood :)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

pbrzoski pbrzoski Joined 1 Dec 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.