laravel-localized-routes
laravel-localized-routes copied to clipboard
Merge codezero/laravel-localizer with this package
When adding the SetLocale middleware that comes with this package, it makes sense that the detection "just works".
Right now there is some basic detection logic in this package in case the use_localizer setting is disabled. Additionally, if you want to change the underlying detection configuration, you need to publish the config file of the localizer package.
Therefor, it might be more developer friendly to just merge the localizer package with this one.
- you can choose to use the middleware or use your own solution
- you can configure everything (where to look for a locale etc.) in one config file