bibrokhim/laravel-language-header
Laravel middleware/package that detects and sets the application locale from the HTTP Accept-Language header. Helps automatically localize responses based on the user’s browser or client language preferences, with simple Laravel integration.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| codezero/browser-locale | 0.88 | Parse the browser’s Accept-Language header to get a visitor’s preferred locales in order. Returns primary locale or full locale list with language/region parts. Works in vanilla PHP and integrates with Laravel via the container. | 16 | 16 | 5 | 204K | 0 | 3.0 | 55.3 | MIT | 2 years ago | |
| aristonis/laravel-language-switcher | 0.86 | Auto-detect and switch your Laravel app locale using browser headers, session, or custom detectors. Includes middleware for per-request locale setting, session persistence, optional user profile integration, and a Blade component plus controller route for manual language selection. | 0 | 0 | 0 | 0 | 0 | 7.3 | — | MIT | 8 months ago | |
| chinleung/laravel-locales | 0.86 | 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. | 36 | 36 | 3 | 6K | 0 | 22.6 | 35.6 | MIT | 1 month ago | |
| lunetics/locale-bundle | 0.86 | — | 186 | 188 | 74 | 5K | 27 | 16.7 | 28.7 | MIT | 3 years ago | |
| sylius/locale | 0.86 | Locale component for Sylius and PHP apps, providing tools to manage locale codes and formatting. Helps handle available locales, current locale selection, and locale-related utilities for internationalized storefronts and services. | 10 | 10 | 1 | 11K | 0 | 0.1 | — | MIT | — | |
| php-standard-library/locale | 0.86 | PHP Standard Library Locale component providing locale-aware formatting and parsing utilities. Helps handle language/region settings, localized dates, numbers, and other internationalization tasks in PHP apps with a lightweight, straightforward API. | 1 | 1 | 0 | 28K | 0 | 21.2 | 64.9 | MIT | 2 weeks ago | |
| arthem/locale-bundle | 0.85 | — | 0 | 0 | 0 | 3 | 0 | 1.6 | 9.1 | — | 5 years ago | |
| niels-numbers/laravel-localizer | 0.84 | Locale-aware routing for Laravel with static, route:cache-ready localized routes. Auto-detects language, redirects to prefixed URLs, and resolves route() to the correct locale. Successor to mcamara/laravel-localization. | 16 | 14 | 2 | 1K | 0 | 23.9 | 30.4 | MIT | 1 week ago | |
| baconmanager/language-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| shureban/laravel-localization | 0.83 | Laravel middleware that auto-sets the application locale from the HTTP Accept-Language header. Install via Composer, register the service provider, and add the Localization middleware globally, per group, or per route. | 0 | 0 | 0 | 213 | 0 | 0.3 | 32.2 | MIT | 3 years ago | |
| braunstetter/localized-routes | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.6 | — | — | 4 years ago | |
| beloop/language | 0.83 | Laravel package for handling application languages and localization: manage available languages, switch the current locale, and provide helpers/middleware for language detection and routing. Lightweight setup for multilingual sites and dashboards. | 0 | 0 | 0 | 0 | 0 | 1.4 | — | — | 6 years ago | |
| laravel-lang/locales | 0.81 | Locale data package for Laravel Lang. Provides up-to-date locale definitions you can use across your Laravel apps, with documentation for installation and contribution guidelines. MIT licensed. | 13 | 13 | 6 | 383K | 0 | 24.5 | 63.1 | MIT | 2 months ago | |
| mcamara/laravel-localization | 0.79 | Laravel localization package for i18n: detect locale from browser, redirect and persist locale via session/cookie, define routes once with localized URL prefixes and translatable routes, optional hiding of default locale, plus helpers like language selectors. | 3,560 | 3,596 | 516 | 172K | 28 | 67.7 | 41.6 | MIT | 2 months ago | |
| laravel-lang/lang | 0.77 | Community-maintained localization files for Laravel. Install via Composer to add and update translations for Laravel’s core messages across many locales, with curated language packs and ongoing updates from the Laravel Lang project. | 7,781 | 7,797 | 2,972 | 354K | 0 | 75.0 | 28.2 | MIT | 1 week ago | |
| chaboksms/laravel | 0.76 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| laravel-lang/locale-list | 0.71 | Provides a curated list of locale codes and language names for Laravel apps. Use it to populate locale selectors, validate supported locales, and keep localization options consistent across projects with an easy-to-consume locale dataset. | 9 | 9 | 3 | 382K | 0 | 16.2 | 61.3 | MIT | 4 months ago | |
| mariuzzo/laravel-js-localization | 0.71 | Export Laravel translation files to JavaScript. Generate a JS bundle (with Lang.js) via artisan to use familiar Laravel-style trans() and pluralization on the frontend. Supports Laravel 4.2 through 8.x, with options to choose files and output path. | 607 | 609 | 170 | 65K | 14 | 37.5 | 41.5 | MIT | 2 months ago | |
| movemoveapp/laravel-localization | 0.70 | — | 5 | 5 | 0 | 0 | 0 | 0.9 | — | MIT | 3 years ago |
How can I help you explore Laravel packages today?