laravel-localized-routes icon indicating copy to clipboard operation
laravel-localized-routes copied to clipboard

Merge codezero/laravel-localizer with this package

Open ivanvermeyen opened this issue 5 years ago • 0 comments

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

ivanvermeyen avatar Jan 18 '20 12:01 ivanvermeyen