PackageTrack
Sign in Get early access

league/iso3166

ISO 3166-1 PHP Library

4.4.0 40M downloads/mo #790 most downloaded on Packagist alcohol/iso3166

What this package is like to depend on

Last release 7 months ago

02 Jan 2026

Ships fairly regularly

a new release about every 7 months

Nearly every release is documented

notes for 18 of 20 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

20 releases · first in 2016

1 release in the last 12 months

see the full history below

Release timeline

20 releases · Jun 2016 to Jan 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 20
  1. 4.4.0 02 Jan 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 4.3.3...4.4.0

    Open source →
  2. 4.3.3 05 Jun 2025

    Nothing published for this version

  3. 4.3.2 10 Oct 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 4.3.1...4.3.2

    Open source →
    Release notes
    • Updated: added XK for Kosovo ([#101])
    • Changed: added types for private properties
    Open source →
  4. 4.3.1 11 Sep 2023
    Release notes

    What's Changed

    • Add an alias for The Democratic Republic of the Congo by @8ctopus in #96

    Full Changelog: 4.3.0...4.3.1

    Open source →
    Release notes
    • Updated: alias for Congo ([#96])
    Open source →
  5. 4.3.0 05 Jun 2023
    Release notes

    What's Changed

    • Added multibyte string extension to the composer requirements. by @alexandrmazur96 in #93
    • Implement exact-match name method for country search by @tomSasaki in #95

    New Contributors

    Full Changelog: 4.2.1...4.3.0

    Open source →
    Release notes
    • Added: added exactName ([#95])
    Open source →
  6. 4.2.1 31 Jan 2023
    Release notes

    What's Changed

    • Cleanup unused uses by @8ctopus in #88
    • Updated currency for Croatia to EUR

    Full Changelog: 4.2.0...4.2.1

    Open source →
    Release notes
    • Changed: Croatia adopted the EUR on 2023-01-01
    Open source →
  7. 4.2.0 23 Jan 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 4.1.0...4.2.0

    Open source →
    Release notes
    • Added: a dataprovider with often requested aliases ([#76])
    Open source →
  8. 4.1.0 07 Sep 2022
    Release notes
    • Changed: Lookup is now unicode-safe (#78) and allows partial (prefix) matches (#74)
    Open source →
    Release notes
    • Changed: lookup is now unicode-safe ([#78]) and allows partial (prefix) matches ([#74])
    Open source →
  9. 4.0.0 22 Oct 2021
    Release notes
    • Changed: Added return types (#63 & #65)
    Open source →
    Release notes
    • Changed: added return types ([#63] & [#65])
    Open source →
  10. 3.0.0 05 Dec 2020
    Release notes
    • Deprecated: dropped support for PHP < 7.3
    • Added: support for PHP 8
    Open source →
    Release notes
    • Deprecated: dropped support for PHP < 7.3
    • Added: support for PHP 8
    Open source →
  11. 2.1.5 29 Jan 2020
    Release notes
    • Changed: added a common ISO3166Exception interface ([#53]).
    Open source →
  12. 2.1.4 23 Oct 2019
    Release notes
    • Changed: update currency for Estonia to EUR.
    Open source →
  13. 2.1.3 25 Sep 2019
    Release notes
    • Changed: update currency for Latvia to EUR.
    Open source →
  14. 2.1.2 14 Mar 2019
    Release notes
    • Changed: update short names of Eswatini and Macedonia.
    Open source →
  15. 2.1.1 17 Jul 2018
    Release notes
    • Changed: Swaziland was renamed to Eswatini.
    Open source →
  16. 2.1.0 02 Jan 2018
    Release notes
    • New: can now lookup by name ([#44]).
    Open source →
  17. 2.0.0 11 May 2017
    Release notes
    • Changed: renamed getBy<Identifier> methods to <identifier> ([#29]).
    • Changed: renamed getAll to all ([#29]).
    • Changed: renamed listBy to iterator ([#29]).
    • Changed: ISO3166 and DataValidator are now final ([#24]).
    • Changed: support for PHP 5.5.x has been dropped ([#23]).
    • Changed: get() method has been removed ([#19]).
    • Changed: currency key in default dataset entries is now always an array ([#15]).
    • New: ISO3166 now implements Countable interface ([#18]).
    • New: can now replace default dataset by injecting a new one into ISO3166 through the constructor ([#18]).
    • New: getBy[Alpha2,Alpha3,Numeric] now throw InvalidArgumentException if anything other than a string is passed in ([#18]).
    Open source →
  18. 1.0.2 07 Feb 2017

    Nothing published for this version

  19. 1.0.1 01 Jul 2016
    Release notes
    • Changed: updated Antarctica currencies ([#6]).
    • Deprecated: the get() method has been deprecated and will be removed in a future release ([#12]).
    Open source →
  20. 1.0.0 30 Jun 2016
    Release notes
    • New: initial release of league/iso3166.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive