Support the ongoing development of →
Last updated 1 year ago.

Answer for number 1; routing from the database is quite hard in Laravel however you could use the sub-domain routing and grab the current site name and get a site id from it.

Answer for number 2; create an implementation of Illuminate\Translation\LoaderInterface that fits your needs and extend the service provider for Illuminate's (remember update it in config/app.php) just overwrite registerLoader.

You might just want to redesign the way all of this is handled.

Last updated 9 years ago.

Sign in to participate in this thread!


Your banner here too?


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

Your logo here?

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

© 2024 - All rights reserved.