codezero/laravel-localized-routes
A Laravel package for localized routes: automatically prefix routes with the current locale, translate route segments and route names, and generate localized URLs with the same route helper API you already use.
Architecture fit
/en/..., /nl/...), and resolve translated path segments (e.g., /en/about vs /nl/over-ons). It does not impose a domain model, so it slots into an existing Laravel monolith without architectural change.{locale} route prefix.route() call silently drops the locale.Integration feasibility
route(), url(), redirect(), hardcoded <a href>, sitemap generator, email template, and notification that emits a URL becomes a review item. Route names may need to stay stable to avoid breaking external references.Technical risk
route:cache and route:list cleanly. Verify this in CI rather than in production.Key questions
composer.json, and is there a stated plan for the next major?route:cache, Octane, and parallel test execution?Vary headers?mcamara/laravel-localization (larger mindshare) or a native {locale} prefix group for our actual route count?Stack fit
/en/) or subdomain (en.example.com) localization; the former is simpler operationally and is the safer default.Migration path
en/nl), and prove URL generation, route model binding, redirects, and sitemap output end to end.Compatibility
route:cache, route:list, signed URLs, URL generation inside queued jobs and mailables, and any admin/panel package that links into the public site.Sequencing
Maintenance
Support
Scaling
route:list ergonomics at very large route tables; measure before worrying.Failure modes
Ramp-up
How can I help you explore Laravel packages today?