PHPackages                             myqaa/country-list - 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. myqaa/country-list

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

myqaa/country-list
==================

List of all countries with names and ISO 3166-1 codes in all languages and data formats.

2.0.7(3y ago)018.9k↓65.6%1MITHTMLPHP ^7.0 || ^8.0

Since Nov 27Pushed 3y agoCompare

[ Source](https://github.com/myQaa/country-list)[ Packagist](https://packagist.org/packages/myqaa/country-list)[ RSS](/packages/myqaa-country-list/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (15)Used By (1)

###  [ ![](https://camo.githubusercontent.com/4acdbd12ae1b9a9539be7b30f8cef6cd9678ccb45500067152e333743632afd8/68747470733a2f2f6661726d322e737461746963666c69636b722e636f6d2f313730392f32353039383532363838345f616534643530343635665f6f5f642e706e67) ](https://github.com/umpirsky)

[](#----------------)

 [symfony upgrade fixer](https://github.com/umpirsky/Symfony-Upgrade-Fixer) • [twig gettext extractor](https://github.com/umpirsky/Twig-Gettext-Extractor) • [wisdom](https://github.com/umpirsky/wisdom) • [centipede](https://github.com/umpirsky/centipede) • [permissions handler](https://github.com/umpirsky/PermissionsHandler) • [extraload](https://github.com/umpirsky/Extraload) • [gravatar](https://github.com/umpirsky/Gravatar) • [locurro](https://github.com/umpirsky/locurro) • **country list** • [transliterator](https://github.com/umpirsky/Transliterator)

Country List
============

[](#country-list)

List of all countries with names and ISO 3166-1 codes in all languages and all data formats.

Install
-------

[](#install)

```
composer require umpirsky/country-list
```

Formats Available
-----------------

[](#formats-available)

- Text
- JSON
- YAML
- XML
- HTML
- CSV
- SQL
    - MySQL
    - PostgreSQL
    - SQLite
- PHP
- XLIFF

If you intend to use the package with PHP see [this](https://github.com/umpirsky/country-list/blob/master/bin/build#L11-L19).

Multilingual
------------

[](#multilingual)

All formats are also available in multiple languages, please find full language list [here](https://github.com/umpirsky/country-list/tree/master/data).

Build
-----

[](#build)

Country list is available out of the box, but if you want to submit patches, add new formats, update data source or contribute in any other way, you will probably want to rebuild the list:

```
$ docker-compose run php /var/www/html/bin/build -v
```

If you need to install composer, get it from installation instructions can be found here:

Other Interesting Lists
-----------------------

[](#other-interesting-lists)

- [Currency List](https://github.com/umpirsky/currency-list)
- [Language List](https://github.com/umpirsky/language-list)
- [Locale List](https://github.com/umpirsky/locale-list)
- [TLD List](https://github.com/umpirsky/tld-list)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 85.8% 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 ~412 days

Recently: every ~461 days

Total

10

Last Release

1250d ago

Major Versions

1.0.1 → 2.0.02016-01-06

PHP version history (6 changes)1.0.0PHP &gt;=5.3.2

2.0.0PHP ~5.4

2.0.2PHP &gt;=5.4

2.0.3PHP ^7.1

2.0.4PHP ^7.0

2.0.6PHP ^7.0 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ae40dc64b6b61c058f0f3a665880ed3bdfa735f3b3bccefbd0f51a5077c6d8a?d=identicon)[githubmyqaa](/maintainers/githubmyqaa)

---

Top Contributors

[![umpirsky](https://avatars.githubusercontent.com/u/208957?v=4)](https://github.com/umpirsky "umpirsky (91 commits)")[![rGaillard](https://avatars.githubusercontent.com/u/2787216?v=4)](https://github.com/rGaillard "rGaillard (2 commits)")[![n-sviridenko](https://avatars.githubusercontent.com/u/9335422?v=4)](https://github.com/n-sviridenko "n-sviridenko (2 commits)")[![eberhm](https://avatars.githubusercontent.com/u/1044082?v=4)](https://github.com/eberhm "eberhm (2 commits)")[![Trainmaster](https://avatars.githubusercontent.com/u/2514421?v=4)](https://github.com/Trainmaster "Trainmaster (2 commits)")[![romedius](https://avatars.githubusercontent.com/u/1255412?v=4)](https://github.com/romedius "romedius (1 commits)")[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (1 commits)")[![ostrolucky](https://avatars.githubusercontent.com/u/496233?v=4)](https://github.com/ostrolucky "ostrolucky (1 commits)")[![hrubymar10](https://avatars.githubusercontent.com/u/2218817?v=4)](https://github.com/hrubymar10 "hrubymar10 (1 commits)")[![IsraelOrtuno](https://avatars.githubusercontent.com/u/1769417?v=4)](https://github.com/IsraelOrtuno "IsraelOrtuno (1 commits)")[![koppi](https://avatars.githubusercontent.com/u/9458631?v=4)](https://github.com/koppi "koppi (1 commits)")[![blankse](https://avatars.githubusercontent.com/u/998558?v=4)](https://github.com/blankse "blankse (1 commits)")

### Embed Badge

![Health badge](/badges/myqaa-country-list/health.svg)

```
[![Health](https://phpackages.com/badges/myqaa-country-list/health.svg)](https://phpackages.com/packages/myqaa-country-list)
```

###  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)
