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
Switch Locale

Switch Locale Laravel Package

day4/switch-locale

day4/switch-locale is a lightweight Laravel package for changing your app’s active locale. It provides simple helpers, middleware, and routing support so users can switch languages and persist their preferred locale across requests and sessions.

View on GitHub
Deep Wiki
Context7

day4/switch-locale is a lightweight Laravel package for changing the application’s active locale at runtime. It offers a simple way to switch locales without manually editing configuration files, making it useful for multilingual apps, admin language previews, and user-selected language preferences.

  • Simple API for setting the current locale
  • Integrates with Laravel’s existing localization features
  • Works with your configured supported locales
  • Lightweight, easy to install, and framework-friendly
  • Helps keep locale-switching logic consistent across your app
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.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect