orkhanahmadov/laravel-accept-language-middleware
Lightweight Laravel middleware that reads the Accept-Language request header and sets the application locale automatically. It parses language preferences, matches them against your configured locales, and falls back gracefully. Easy to register and works without configuration.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| laravel-lang/models | 0.87 | Adds localized names and attributes for Laravel Eloquent models via Laravel Lang. Plug-and-play translations for model labels across multiple languages to improve UI, validation messages, and admin panels. Install with composer and follow the docs for setup. | 7 | 7 | 3 | 286K | 0 | 14.8 | 59.3 | MIT | 7 months ago | |
| laravel-lang/routes | 0.87 | — | 8 | 8 | 4 | 317K | 0 | 16.4 | 60.7 | MIT | 7 months ago | |
| laravel-lang/locales | 0.87 | 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 | 540K | 0 | 19.7 | 60.8 | MIT | 7 months ago | |
| michalkortas/laravel-indexable | 0.87 | — | 1 | 1 | 0 | 1 | 0 | 8.1 | 2.4 | — | 3 years ago | |
| laravel-lang/lang | 0.87 | Laravel Localizations provides comprehensive language files for Laravel, giving your app ready-made translations for validation, auth, and framework messages across dozens of locales. Install via Composer and ship multilingual apps faster. | 7,783 | 7,806 | 2,917 | 1M | 0 | 74.9 | 34.8 | MIT | 3 days ago | |
| laravel-lang/config | 0.87 | Official configuration package for Laravel Lang, providing shared settings and defaults used across its localization tools so you can manage language files and locales consistently in Laravel apps. | 6 | 6 | 1 | 529K | 0 | 28.4 | 64.3 | MIT | 1 month ago | |
| orumad/laravel-spanish-validator | 0.87 | — | 25 | 26 | 16 | 1K | 0 | 8.4 | 25.2 | MIT | 7 months ago | |
| danielmrdev/laravel-spanish-validator | 0.86 | — | 25 | 25 | 16 | 279 | 0 | 8.4 | 15.7 | MIT | 7 months ago | |
| laravel-lang/publisher | 0.86 | Laravel Lang Publisher publishes and updates Laravel's localization files, letting you install, sync, and manage translations for dozens of languages with simple Artisan commands. It keeps language files current and removes unused locales. | 218 | 218 | 26 | 1M | 0 | 18.1 | 54.5 | MIT | 7 months ago | |
| laravel-lang/translator | 0.86 | laravel-lang/translator is a Laravel package for streamlining translation of language files. It provides tooling to generate and manage locale strings, helping maintain multilingual applications and keep translations consistent across supported languages. | 2 | — | 3 | — | 0 | 3.8 | — | MIT | 10 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 | 10K | 0 | 13.8 | 36.4 | MIT | 6 months ago | |
| chinleung/laravel-multilingual-routes | 0.86 | Register multilingual Laravel routes with a single multilingual() call. It maps paths and route names per configured locale, can detect the request locale via middleware, and supports Laravel 9 through 13 depending on package version. Ideal for localized URLs without duplicating route definitions. | 448 | 449 | 27 | 10K | 5 | 30.5 | 22.8 | MIT | 2 months ago | |
| andrey-helldar/laravel-lang-publisher | 0.86 | Publishes Laravel localization files with a single Artisan command. It pulls translations from the laravel-lang project, lets you choose locales, and keeps your app's lang directory in sync, making it easy to add or refresh language files in Laravel projects. | 218 | — | 26 | — | 0 | 9.5 | — | MIT | 7 months ago | |
| dejwcake/admin-auth | 0.86 | Admin authentication for Laravel. Adds a dedicated admin guard with login, logout, and password handling, plus middleware to protect admin-only routes. Keeps admin sessions separate from regular user sessions so back-office access stays isolated, simple to configure, and easy to drop into existing a... | 0 | — | 0 | — | 0 | 19.7 | — | — | 2 weeks ago | |
| 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 | 316 | 0 | 2.5 | 34.9 | — | 11 months ago | |
| mcamara/laravel-localization | 0.86 | Easy i18n for Laravel: detect browser language, redirect with locale saved in session or cookie, define localized and translated routes once, hide the default locale in URLs, and use helpers like a language selector. Note: dynamic routes mean route:cache needs extra setup. | 3,558 | 3,598 | 505 | 314K | 9 | 61.5 | 34.7 | MIT | 2 months ago | |
| phpmob/chang | 0.85 | phpmob/chang is a lightweight Laravel/PHP package offering a simple, focused utility for application tasks. It installs via Composer and follows Laravel conventions; see the repository README for setup, configuration, and usage examples. | 1 | — | 0 | — | 0 | 0.3 | — | MIT | 7 years ago | |
| richan-fongdasen/laravel-i18n | 0.85 | — | 13 | 13 | 3 | 2K | 1 | 5.7 | 29.9 | MIT | 1 year ago | |
| laravel-lang/locale-list | 0.85 | 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 | 1M | 0 | 8.7 | 57.7 | MIT | 9 months ago | |
| niels-numbers/laravel-localizer | 0.85 | Locale-aware routing for Laravel and a successor to mcamara/laravel-localization. Registers every route twice as static routes for route:cache support, auto-detects Accept-Language, redirects visitors, and resolves route() per language. | 40 | 40 | 3 | 11K | 1 | 24.5 | 39.2 | MIT | 4 days ago |
How can I help you explore Laravel packages today?