whitecube/lingua
Lingua adds a translation management UI to Laravel: browse and edit PHP and JSON language files in one place, spot missing keys, and keep every locale in sync without hand-editing files. It installs quickly and slots into existing localization workflows.
en vs eng vs en-US. This package answers the "what format do we standardize on?" question cheaply and lets the team defer building a custom normalization layer.Adopt when:
Look elsewhere when:
symfony/intl, intl extension) instead.For executives: This is a tiny, free (MIT), zero-infrastructure utility that removes a recurring source of localization bugs — mismatched language codes coming from vendors, partners, and internal teams. It costs effectively nothing to adopt, is not a platform commitment, and can be swapped for an in-house mapping table later if it ever becomes a concern. The main caveat is that it's a small, low-traffic package last updated in 2021; because it encodes a standard data table rather than active logic, that's a low practical risk, but it should be reviewed and pinned rather than treated as a long-term strategic dependency.
For engineering: Adopt it as a thin normalization layer at the boundaries of the system — input validation on ingestion and API endpoints, canonical output before persistence and reporting. Pin the version, wrap it behind a small internal interface, and add unit tests around the specific code mappings the product relies on. That wrapper is the escape hatch: if the package goes stale or the data needs extending, you replace the implementation without touching call sites. Budget is minimal — the real work is deciding on the canonical language-code format for the product, which is a decision worth making explicitly rather than letting this library make it by default.
How can I help you explore Laravel packages today?