league/iso3166
A PHP library providing ISO 3166-1 country data, including alpha-2, alpha-3, and numeric codes plus currencies, with simple lookup methods for name and code.
The package provides a lightweight, in-memory data provider for ISO 3166-1 country codes with minimal dependencies, making it highly suitable for PHP-based systems requiring standardized country data. Its architecture is simple and stateless, with no external service dependencies—ideal for validation, form processing, or data normalization tasks. Integration feasibility is high due to Composer-based installation and clear method-based APIs (alpha2(), name(), etc.). Technical risks are low but require scrutiny: the "Last release" date (2026-01-02) appears erroneous (as changelogs show 2023-2024 updates), and while the PHP League maintains it, the "Dependents: 0" metric suggests limited real-world adoption. Key questions include: How frequently is the underlying data refreshed (e.g., Kosovo added in v4.3.2)? What is the process for handling ISO standard changes (e.g., currency updates like Croatia’s EUR adoption)? Does it support historical data for deprecated country codes (e.g., Swaziland → Eswatini)?
Stack fit is excellent for Laravel applications: it requires no framework-specific configuration
How can I help you explore Laravel packages today?