Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Locales Laravel Package

chinleung/laravel-locales

Add easy locale support to Laravel with simple config and helper functions. Set and get the current locale with locale(), and manage supported locales with locales(), prioritizing app.locales over package config. Supports Laravel 6–13 (versioned).

View on GitHub
Deep Wiki
Context7
v2.1.0
v1.2.2
  • Added support for PHP 8
v1.2.1
  • Added support for Laravel 8
v1.2.0
  • Added support for Laravel 7
v1.1.0
  • Added support for Laravel 6
v1.0.5
  • Allow associative arrays for locales configuration (#2)
v1.0.4
  • Allow locales to set the supported locales
v1.0.3
  • Changed the config file from laravel-locales.php to locales.php
  • Fixed the publish config command in the README.md
v1.0.2
  • Fixed the namespace of classes
v1.0.1
  • Changed the default supported locales to ['en'] only
  • Added locale helper
v1.0.0
  • Initial Release
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route