Weave Code
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 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.

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport