chinleung/laravel-locales
Add multi-locale support to Laravel with simple config and helper functions. Define supported locales via app.locales or a published config, and use locale() to get/set the current locale and locales() to get/set supported locales.
chinleung/laravel-locales adds simple configuration and global helpers to make a Laravel app support multiple locales with minimal setup. Define your supported languages via app.locales or the published config, then use concise helpers to read or switch the current locale at runtime.
Ideal for apps that need a lightweight, consistent way to manage supported locales across environments while staying aligned with Laravel’s native localization APIs.
locale() helper to get/set the current application localelocales() helper to get/set the list of supported localesapp.locales with priority over package configHow can I help you explore Laravel packages today?