codedor/laravel-locale-collection
A Laravel package that provides a ready-made collection of locales and language data, making it easy to list, filter, and look up locale names and codes in your application.
Accept-Language negotiation, and validation of user-submitted locale values. It lets you ship the plumbing of i18n before committing to translation tooling and vendor spend.Adopt when:
Look elsewhere when:
intl extension or a dedicated CLDR-backed library.For executives: This is a tiny, low-risk dependency that removes a known class of internationalization bugs — wrong country names, mismatched language codes, inconsistent supported-language lists across our products — without adding vendor cost or a services contract. It makes "enter market X" a config change rather than a refactor, which shortens the path from roadmap decision to shippable feature. The latest release (v2.1.0) also brings forward-compatibility with PHP 8.5 and Laravel 13, so adopting it reduces rather than adds platform-upgrade risk.
For engineering: A Laravel-native locale collection: one source of truth for supported locales, codes, and native names, consumed wherever we currently hardcode arrays. v2.1.0 is a maintenance release — PHP 8.5 / Laravel 13 support plus CI action bumps, no breaking changes and no API changes, so it's a safe minor upgrade. Recommended next steps: confirm our test matrix covers PHP 8.5 / Laravel 13, replace existing hardcoded locale arrays in one surface as a pilot, and standardize on the package as the supported-locale source before we build the language switcher.
How can I help you explore Laravel packages today?