commerceguys/intl
commerceguys/intl is a PHP internationalization library that provides country, currency, language, and locale data with locale-aware formatters. It helps commerce and multilingual apps display consistent, CLDR-based names and currency values.
Architecture fit
Country, Currency, Language, Locale) and repositories backed by CLDR/ISO data.Number helpers rather than replacing them.CurrencyFormatter, CountryResolver) so controllers, Blade, and API resources are not coupled to the vendor API.USD, US) in the database and resolving display strings at the edge.Integration feasibility
intl availability.Technical risk
intl extension in web, queue, CLI, and CI images.$ for USD/CAD/AUD, kr for several currencies) can produce incorrect UI unless locale and currency are always formatted together.Key questions
commerceguys/addressing) or only country/currency?Stack fit
Migration path
config/*.php lists, and any direct symfony/intl or NumberFormatter usage.CurrencyFormatter / CountryResolver interface first, then swap implementations behind it to keep the change reversible.Compatibility
ext-intl and exact ICU version in every environment; pin the Composer version and lock file.Sequencing
Maintenance
Support
Scaling
Failure modes
try/catch or validation-first patterns, bad user input becomes 500s.Ramp-up
How can I help you explore Laravel packages today?