PHPackages                             sokil/php-isocodes-db-only - 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. [Database &amp; ORM](/categories/database)
4. /
5. sokil/php-isocodes-db-only

ActiveLibrary[Database &amp; ORM](/categories/database)

sokil/php-isocodes-db-only
==========================

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

4.0.8(4mo ago)3412.8k—7.9%[1 PRs](https://github.com/sokil/php-isocodes-db-only/pulls)3MITPHPPHP &gt;=7.1CI passing

Since Dec 4Pushed 1mo ago2 watchersCompare

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

READMEChangelog (9)Dependencies (2)Versions (12)Used By (3)

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 only database 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 with localized values, see [sokil/php-isocodes-db-i18n](https://github.com/sokil/php-isocodes-db-i18n).

[![Total Downloads](https://camo.githubusercontent.com/507579834dab62733620361e59aed6ead6956a19a720dd64c210982be4b062b6/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6b696c2f7068702d69736f636f6465732d64622d6f6e6c792e7376673f31)](https://packagist.org/packages/sokil/php-isocodes-db-only)[![Daily Downloads](https://camo.githubusercontent.com/595211823a63a4db2da1e914b7c53c62525a5a2c0b8b9ec77dc409eee351bc0a/68747470733a2f2f706f7365722e707567782e6f72672f736f6b696c2f7068702d69736f636f6465732d64622d6f6e6c792f642f6461696c79)](https://packagist.org/packages/sokil/php-isocodes-db-only/stats)

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

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

50

—

FairBetter than 96% of packages

Maintenance83

Actively maintained with recent releases

Popularity39

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

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 ~164 days

Recently: every ~248 days

Total

10

Last Release

148d 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 (77 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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