codezero/browser-locale
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bibrokhim/laravel-language-header | 0.86 | 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. | 0 | 0 | 0 | 287 | 0 | 7.6 | 35.9 | — | 8 months ago | |
| 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 | 40K | 0 | 19.1 | 63.8 | MIT | 2 months ago | |
| chinleung/laravel-locales | 0.86 | 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). | 36 | 36 | 3 | 7K | 0 | 19.6 | 35.0 | MIT | 3 months ago | |
| shureban/laravel-localization | 0.85 | 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 | 199 | 0 | 0.3 | 31.8 | MIT | 3 years ago | |
| sylius/locale | 0.85 | 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 | 9K | 0 | 0.1 | 41.6 | MIT | — | |
| laravel-lang/locales | 0.82 | 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 | 440K | 0 | 21.6 | 61.7 | MIT | 4 months ago | |
| yiisoft/i18n | 0.77 | Yii i18n provides lightweight internationalization utilities for PHP: a BCP 47 Locale value object to parse and modify locale parts, build locale strings, and derive fallbacks, plus a stateful LocaleProvider service for managing the current and default locale. | 27 | 27 | 29 | 33K | 2 | 8.8 | 44.8 | BSD-3-Clause | 8 months ago | |
| zf1/zend-locale | 0.77 | Zend Framework 1 Zend_Locale component for Composer. Provides locale detection, localization data, and locale-aware utilities with Composer-based autoloading. Ideal for using only this ZF1 piece or migrating apps incrementally. | 7 | 7 | 10 | 15K | 0 | 0.3 | 44.8 | BSD-3-Clause | — | |
| laravel-lang/locale-list | 0.76 | 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. | 10 | 10 | 3 | 475K | 0 | 13.2 | 59.9 | MIT | 6 months ago | |
| devwizardhq/laravel-localizer | 0.75 | — | 7 | 7 | 0 | 170 | 0 | 19.6 | 21.5 | MIT | 1 month ago |
How can I help you explore Laravel packages today?