wirelab/language_switcher-plugin
A lightweight language switcher plugin for Laravel and Filament applications. It adds a ready-to-use switcher UI for moving between your configured locales, letting visitors and panel users change language on the fly without writing custom code.
/en/, /el/) and hreflang. This package surfaces that fork in the road early — a product decision, not an engineering one.Adoption criteria — effectively none for production. Last release 2017-11-28, archived, zero dependents, zero stars. It predates Laravel 5.6+ auto-discovery and modern PHP 8.x. Dead code with no security maintenance is a liability with no offsetting benefit.
When to look elsewhere:
App::setLocale, locale middleware) plus a small Blade/Livewire/Inertia component (~100 lines).hreflang, SEO → mcamara/laravel-localization or custom middleware.spatie/laravel-translatable; translation files → laravel-lang.Note on the scores: the high opportunity score (8.81) reflects an unmet need in the ecosystem, not package quality — the low overall score (0.045) is the one that governs the buy decision.
Executive summary. An MIT-licensed package exists that solves the language-switcher UX, but it has been archived and unmaintained since 2017, with no adoption. Recommendation: do not adopt it as a dependency. Extract its requirements and either build a small in-house component (1–3 dev days) or use a maintained alternative. Adopting it would import dead code incompatible with current Laravel/PHP, with no security patching and no community support.
For engineering. Treat it as a spec, not a dependency. It shows the feature's shape: locale resolution → persistence → UI control. Reimplement against current Laravel conventions with tests for locale fallback, session/cookie persistence, and URL strategy. Budget the real effort toward translation pipeline and cross-locale QA.
For leadership. This de-risks the estimate, not the delivery. The switcher is small; the cost of internationalization lives in content, localization QA, and SEO — decisions worth making deliberately before committing to a market launch.
How can I help you explore Laravel packages today?