NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #849 most downloaded on Packagist
ISO 3166-1 PHP Library
Last release 1 months ago
27 Aug 2026
Ships fairly regularly
a new release about every 8 months
Nearly every release is documented
notes for 19 of 21 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
21 releases · first in 2016
Full Changelog : 4.4.0...4.5.0
Full Changelog: 4.4.0...4.5.0
docs: Added throws PHPDoc tags in ISO3166 by @florentausha in #119
Full Changelog: 4.3.3...4.4.0
One column per quarter.
Nothing published for this version
Bump actions/checkout from 3 to 4 by @dependabot in #98
Full Changelog: 4.3.1...4.3.2
Add an alias for The Democratic Republic of the Congo by @8ctopus in #96
Full Changelog: 4.3.0...4.3.1
Added multibyte string extension to the composer requirements. by @alexandrmazur96 in #93
Full Changelog: 4.2.1...4.3.0
Cleanup unused uses by @8ctopus in #88
Full Changelog: 4.2.0...4.2.1
Update .gitattributes by @bytestream in #81
Full Changelog: 4.1.0...4.2.0
Changed: Lookup is now unicode-safe ( #78 ) and allows partial (prefix) matches
Changed: Added return types ( #63 & #65 )
Deprecated: dropped support for PHP < 7.3
Changed: added a common ISO3166Exception interface ([#53]).
Changed: update currency for Estonia to EUR.
Changed: update currency for Latvia to EUR.
Changed: update short names of Eswatini and Macedonia.
Changed: Swaziland was renamed to Eswatini.
New: can now lookup by name ([#44]).
name ([#44]).Changed: renamed getBy methods to ([#29]).
getBy<Identifier> methods to <identifier> ([#29]).getAll to all ([#29]).listBy to iterator ([#29]).ISO3166 and DataValidator are now final ([#24]).get() method has been removed ([#19]).currency key in default dataset entries is now always an array ([#15]).ISO3166 now implements Countable interface ([#18]).ISO3166 through the constructor ([#18]).getBy[Alpha2,Alpha3,Numeric] now throw InvalidArgumentException if anything other than a string is passed in ([#18]).Nothing published for this version
Deprecated: the get() method has been deprecated and will be removed in a future release ([#12]).
get() method has been deprecated and will be removed in a future release ([#12]).New: initial release of league/iso3166.
league/iso3166.Your coding agent can read these notes before it upgrades. Set up the MCP server →