PackageTrack
Sign in Get early access

sokil/php-isocodes

ISO country, subdivision, language, currency and script definitions and their translations. Based on pythons pycountry and Debian's iso-codes.

4.4.0 2.8M downloads/mo #2140 most downloaded on Packagist sokil/php-isocodes

What this package is like to depend on

Last release 11 months ago

16 Sep 2025

Ships unpredictably

gaps range from 2 weeks to 1.5 years

Some releases are documented

notes for 23 of 59 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

59 releases · first in 2014

1 release in the last 12 months

see the full history below

Release timeline

58 releases · Jul 2014 to Sep 2025
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 59
  1. 4.4.0 16 Sep 2025
    Release notes

    Added

    • Define external Synfony Translator
    Open source →
  2. 4.3.0 06 Jul 2025
    Release notes

    Changed

    • Removed support of PHP less than PHP 7.4
    • Added cache dir for Symfony translation driver
    Open source →
  3. 4.2.1 11 Dec 2024
    Release notes

    Added

    • Support of PHP 8.4 (See PR #80)
    Open source →
  4. 4.2.0 11 Jun 2023
    Release notes

    Added

    • Common name of country \Sokil\IsoCodes\Database\Countries\Country::getCommonName
    • Flag of country \Sokil\IsoCodes\Database\Countries\Country::getFlag
    Open source →
    Release notes

    Added

    • Common name of country \Sokil\IsoCodes\Database\Countries\Country::getCommonName
    • Flag of country \Sokil\IsoCodes\Database\Countries\Country::getFlag
    Open source →
  5. 4.1.1 07 Feb 2023
    Release notes

    Fixes

    • Auth release fix. Swallow clone does not clone tags required to set version in README
    Open source →
    Release notes

    Fixes

    • Auth release fix. Swallow clone does not clone tags required to set version in README
    Open source →
  6. 4.1.0 16 Mar 2022
    Release notes

    Fix: database entries may has no mo files. In this case exception occured. Locale "en" as default locale has
    no mo files because all data already present in database. When no mo file found, default "en" value returns.

    Open source →
    Release notes
    • Fix: database entries may has no mo files. In this case exception occured. Locale "en" as default locale has no mo files because all data already present in database. When no mo file found, default "en" value returns.
    Open source →
  7. 4.0.3 01 Mar 2022
    Release notes

    Stand With Ukraine

    Free world

    As you already know, russia invaded Ukraine on 24 of February 2022, at 5.00 AM the armed forces of the Russian Federation attacked Ukraine. Please, Stand with Ukraine, stay tuned for updates on Ukraine’s official sources and channels in English and support Ukraine in its fight for freedom and democracy in Europe.

    https://ukraine.ua/news/stand-with-ukraine/

    Ways to support Ukraine

    #StandWithUkraine

    Open source →
    Release notes
    • Stand With Ukraine
    Open source →
  8. 4.0.2 25 Jan 2022
    Release notes
    • Fix #53 - Compatibility with php 8.1
    Open source →
    Release notes
    • Fix #53 - Compatibility with php 8.1
    Open source →
  9. 4.0.1 05 Dec 2021
    Release notes

    Fixes in update_iso_codes_db.sh

    Open source →
    Release notes
    • Fixes in update_iso_codes_db.sh
    Open source →
  10. 4.0.0 02 Dec 2021
    Release notes
    Open source →
    Release notes
    Open source →
  11. 3.3.15 no date

    Nothing published for this version

  12. 3.3.14 06 Nov 2021

    Nothing published for this version

  13. 3.3.13 04 Oct 2021

    Nothing published for this version

  14. 3.3.12 15 Sep 2021

    Nothing published for this version

  15. 3.3.11 10 Aug 2021

    Nothing published for this version

  16. 3.3.10 02 Jul 2021

    Nothing published for this version

  17. 3.3.9 02 Jun 2021

    Nothing published for this version

  18. 3.3.8 02 May 2021

    Nothing published for this version

  19. 3.3.7 02 Apr 2021

    Nothing published for this version

  20. 3.3.6 17 Mar 2021

    Nothing published for this version

  21. 3.3.5 02 Mar 2021

    Nothing published for this version

  22. 3.3.4 17 Feb 2021

    Nothing published for this version

  23. 3.3.3 02 Feb 2021

    Nothing published for this version

  24. 3.3.2 19 Jan 2021

    Nothing published for this version

  25. 3.3.1 03 Jan 2021
    Release notes
    • Database version: iso-codes-4.5.0-178-g802915de from 2021-01-02 04:38
    Open source →
  26. 3.3.0 20 Dec 2020
    Release notes
    • Fix configure external directory to database files
    • SomeDatabase::getByNumericCode now accept strings instead of ints, SomeEntity::getNumericCode now return strings
    Open source →
  27. 3.2.0 13 Dec 2020
    Release notes
    • Allow to configure own translation driver
    Open source →
  28. 3.1.1 12 Dec 2020
    Release notes
    • Database updated to version iso-codes-4.5.0-165-g46cea063 from 2020-12-12 19:09
    • Fixed release scripts
    • Configured Github Action to start automatic release process event 2nd day of month
    Open source →
  29. 3.1.0 12 Dec 2020
    Release notes
    • Bug #25 fixed, \Sokil\IsoCodes\Database\Countries::getByNumericCode now accept strings instead of ints
    Open source →
  30. 3.0.6 22 Sep 2020
    Release notes
    • Database version: 4.5.0-99-g3feba234 from 2020-09-22 23:33
    Open source →
  31. 3.0.5 28 May 2020
    Release notes
    • Database version: 4.2-515-g7c579bb0 from 2020-05-29 01:27
    Open source →
  32. 3.0.4 28 Nov 2019
    Release notes
    • Database version: 4.2-299-gc0e8506 from 2019-11-28 08:56
    Open source →
  33. 3.0.3 23 Oct 2019
    Release notes
    • Database version: 4.2-277-g3d1d2f11 from 2019-10-23 22:24
    Open source →
  34. 3.0.2 28 Aug 2019
    Release notes
    • Database version: iso-codes-4.2-202-gfefebff3 from 2019-08-28 23:03
    Open source →
  35. 3.0.1 21 Jun 2019
    Release notes
    • Remove stub class \Sokil\IsoCodes, use \Sokil\IsoCodes\IsoCodesFactory instead
    • Database version: iso-codes-4.2-147-gcadebc34
    Open source →
  36. 3.0.0 01 Jun 2019

    Nothing published for this version

  37. 2.2.10 28 Nov 2019

    Nothing published for this version

  38. 2.2.9 28 Aug 2019
    Release notes
    • Database version: iso-codes-4.2-202-gfefebff3 from 2019-08-28 23:05
    Open source →
  39. 2.2.8 21 Jun 2019

    Nothing published for this version

  40. 2.2.7 01 Jun 2019

    Nothing published for this version

  41. 2.2.6 10 Apr 2019

    Nothing published for this version

  42. 2.2.5 02 Apr 2019

    Nothing published for this version

  43. 2.2.4 02 Apr 2019

    Nothing published for this version

  44. 2.2.3 02 Mar 2019

    Nothing published for this version

  45. 2.2.2 31 Jan 2019

    Nothing published for this version

  46. 2.2.1 03 Jan 2019

    Nothing published for this version

  47. 2.2.0 29 Nov 2018

    Nothing published for this version

  48. 2.1.5 16 Nov 2018

    Nothing published for this version

  49. 2.1.4 13 Oct 2018

    Nothing published for this version

  50. 2.1.3 04 Sep 2018

    Nothing published for this version

  51. 2.1.2 20 Aug 2018

    Nothing published for this version

  52. 2.1.1 06 Jun 2018

    Nothing published for this version

  53. 2.0.3 13 Mar 2018

    Nothing published for this version

  54. 2.0.2 05 Jan 2018

    Nothing published for this version

  55. 2.0.1 15 Nov 2017

    Nothing published for this version

  56. 2.0.0 07 Nov 2017

    Nothing published for this version

  57. 1.0.1 18 Nov 2014

    Nothing published for this version

  58. 1.0.0 20 Jul 2014

    Nothing published for this version

  59. 2.1 08 May 2018
    Release notes
    • AbstractDatabase::find() now returns null when $fieldValue not found in index instead of throwing exception
    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