Download the PHP package madbox-99/laravel-locale-switcher without Composer
On this page you can find all versions of the php package madbox-99/laravel-locale-switcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download madbox-99/laravel-locale-switcher
More information about madbox-99/laravel-locale-switcher
Files in madbox-99/laravel-locale-switcher
Download madbox-99/laravel-locale-switcher
More information about madbox-99/laravel-locale-switcher
Files in madbox-99/laravel-locale-switcher
Vendor madbox-99
Package laravel-locale-switcher
Short Description Simple locale switcher for Laravel applications using cookies.
License MIT
Package laravel-locale-switcher
Short Description Simple locale switcher for Laravel applications using cookies.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-locale-switcher
Laravel Locale Switcher
A lightweight Laravel package for switching locales in applications using cookies or URL prefixes.
Features
- Switch locales from routes or middleware
- Support cookie-based locale persistence
- Support URL-prefix-based locale handling
- Blade components for locale dropdowns and hreflang tags
- Easy integration with Laravel applications
Installation
Install via Composer:
Publish the package configuration if needed:
Usage
The package provides helpers and middleware to set the current locale, switch between languages, and expose locale-aware routes and views.
Testing
Run the test suite with:
All versions of laravel-locale-switcher with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/support Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
The package madbox-99/laravel-locale-switcher contains the following files
Loading the files please wait ...