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

Filament Browser Locale Laravel Package

chaim-chv/filament-browser-locale

A Filament plugin that detects each visitor's preferred browser language and applies it as the application locale automatically. Includes middleware, configurable locale mapping, and seamless integration with Filament panels for multilingual admin interfaces.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Localization/internationalization of Filament admin panels: automatic browser-locale detection, including regional variants such as en-US/en_US, reduces manual language selection for international users.
  • Build vs buy: a small, focused Composer package is likely cheaper and lower-risk than custom middleware/plugin code for browser locale negotiation.
  • Roadmap compatibility: supports Filament v4 and v5, Laravel 11.28+/12/13, and Livewire 3/4, reducing upgrade risk as the admin stack advances.
  • Use cases: multilingual SaaS back offices, internal tools with distributed staff, customer-facing admin portals across markets, and regional pilot launches.
  • Quality/risk: v1.2.0 fixes regional locale matching and adds a Pest + Orchestra Testbench suite plus a PHP/Filament CI matrix, increasing confidence for production adoption.
  • Release hygiene: .gitattributes improves Packagist dist exports, and the upgrade path is a simple composer require ...:^1.2.

When to Consider This Package

  • You use Filament v4 or v5 with Laravel 11.28+, 12, or 13 and Livewire 3/4.
  • You need lightweight browser Accept-Language detection with correct regional and base-language fallback in the admin UI.
  • You prefer a small Composer dependency over maintaining custom locale negotiation logic.
  • You value automated tests and CI coverage across supported PHP and Filament versions.
  • Look elsewhere if you need full translation management, per-user persisted locale preferences, localized routing/URLs, GeoIP or user-profile-driven locale selection, advanced negotiation beyond browser headers, or support for older Laravel/Filament/Livewire versions.

How to Pitch It (Stakeholders)

  • Executives: a low-cost, low-risk enhancement that improves the experience for international users and supports current and next Filament versions, reducing custom localization code and upgrade friction.
  • Engineering: a narrow, maintained package with a clear upgrade path; v1.2.0 adds Filament 5 compatibility, fixes regional locale matching, and includes tests and CI, with a simple Composer upgrade.
  • Product: enables faster localization rollouts for admin surfaces without building locale detection from scratch; adopt only if requirements stop at browser-locale detection.
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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels