PHPackages                             sokil/php-isocodes-db-i18n - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. sokil/php-isocodes-db-i18n

ActiveLibrary[Localization &amp; i18n](/categories/localization)

sokil/php-isocodes-db-i18n
==========================

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

4.0.28(6mo ago)61.1M↓35.5%2[1 issues](https://github.com/sokil/php-isocodes-db-i18n/issues)[1 PRs](https://github.com/sokil/php-isocodes-db-i18n/pulls)7MITPHPPHP &gt;=7.1CI passing

Since Dec 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/sokil/php-isocodes-db-i18n)[ Packagist](https://packagist.org/packages/sokil/php-isocodes-db-i18n)[ RSS](/packages/sokil-php-isocodes-db-i18n/feed)WikiDiscussions 4.0 Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (32)Used By (7)

Stand With Ukraine
==================

[](#stand-with-ukraine)

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)

---

Database for PHP-ISOCODES library
=================================

[](#database-for-php-isocodes-library)

This repository contains database with localized values of ISO country (ISO 3166-1), subdivision (ISO 3166-2), language (ISO 639-3), currency (ISO 4217) and scripts (ISO 15924). To get this database only without localized values, see [sokil/php-isocodes-db-only](https://github.com/sokil/php-isocodes-db-only).

[![Latest Stable Version](https://camo.githubusercontent.com/d3a17e96173a0a1ce572196777ff9c2a52b00ea84c2bbe500a5e85dd422643ad/68747470733a2f2f706f7365722e707567782e6f72672f736f6b696c2f7068702d69736f636f6465732d64622d6931386e2f762f737461626c652e706e67)](https://packagist.org/packages/sokil/php-isocodes-db-i18n)[![Total Downloads](https://camo.githubusercontent.com/3e429ce0c9a143e94e8ff4c39b816b99beb7263567f14da82e0c71de1d051355/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6b696c2f7068702d69736f636f6465732d64622d6931386e2e7376673f31)](https://packagist.org/packages/sokil/php-isocodes-db-i18n)[![Daily Downloads](https://camo.githubusercontent.com/dba02a5a75e6721643cdb8ed256d85ca362c9f58668092c949c7dd062761f6cf/68747470733a2f2f706f7365722e707567782e6f72672f736f6b696c2f7068702d69736f636f6465732d64622d6931386e2f642f6461696c79)](https://packagist.org/packages/sokil/php-isocodes-db-i18n/stats)

🔢 Database version: v4.19.0-64-gbd152c00 from 2025-12-02 04:19

Database updated at 2-nd day of every month.

PHP-ISOCODES library
--------------------

[](#php-isocodes-library)

Details about library you may find in [sokil/php-isocodes](https://github.com/sokil/php-isocodes) repository.

Installation
------------

[](#installation)

To install "sokil/php-isocodes" library with full database and i18n files:

```
composer require sokil/php-isocodes sokil/php-isocodes-db-i18n

```

You may also install "sokil/php-isocodes" with only database (no i18n will be available):

```
composer require sokil/php-isocodes sokil/php-isocodes-db-only

```

Database and internationalisation files updated at 2-nd day of every month. If you prefer to update more often, you may use just "sokil/php-isocodes" library and tune update of database and i18n by yourself:

```
composer require sokil/php-isocodes

```

To setup manual update please read [instruction](https://github.com/sokil/php-isocodes#library-with-manual-database-update).

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance79

Regular maintenance activity

Popularity45

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~51 days

Recently: every ~73 days

Total

30

Last Release

193d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/902e21ecf6517341b1f2a3c2f93a3eb115396fc6524effaeabc816b481909e64?d=identicon)[sokil](/maintainers/sokil)

---

Top Contributors

[![sokil](https://avatars.githubusercontent.com/u/1829948?v=4)](https://github.com/sokil "sokil (100 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sokil-php-isocodes-db-i18n/health.svg)

```
[![Health](https://phpackages.com/badges/sokil-php-isocodes-db-i18n/health.svg)](https://phpackages.com/packages/sokil-php-isocodes-db-i18n)
```

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
