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

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

umpirsky/country-list
=====================

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

2.0.6(5y ago)5.2k11.0M↓40.5%1.5k[9 issues](https://github.com/umpirsky/country-list/issues)[3 PRs](https://github.com/umpirsky/country-list/pulls)20MITHTMLPHP ^7.0 || ^8.0

Since Nov 27Pushed 1mo ago150 watchersCompare

[ Source](https://github.com/umpirsky/country-list)[ Packagist](https://packagist.org/packages/umpirsky/country-list)[ RSS](/packages/umpirsky-country-list/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (3)Versions (14)Used By (20)

###  [ ![](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

68

—

FairBetter than 99% of packages

Maintenance59

Moderate activity, may be stable

Popularity78

Solid adoption and visibility

Community50

Growing community involvement

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 86.7% 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 ~365 days

Recently: every ~428 days

Total

9

Last Release

2014d 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/379f6555cc98722ab303535ce5811af267fd006fc3e141bd0cea546430160c74?d=identicon)[umpirsky](/maintainers/umpirsky)

---

Top Contributors

[![umpirsky](https://avatars.githubusercontent.com/u/208957?v=4)](https://github.com/umpirsky "umpirsky (91 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)")[![n-sviridenko](https://avatars.githubusercontent.com/u/9335422?v=4)](https://github.com/n-sviridenko "n-sviridenko (2 commits)")[![ostrolucky](https://avatars.githubusercontent.com/u/496233?v=4)](https://github.com/ostrolucky "ostrolucky (1 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)")[![blankse](https://avatars.githubusercontent.com/u/998558?v=4)](https://github.com/blankse "blankse (1 commits)")[![yariksheptykin](https://avatars.githubusercontent.com/u/636846?v=4)](https://github.com/yariksheptykin "yariksheptykin (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)")

### Embed Badge

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

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

###  Alternatives

[php-translation/translator

Translator services

25224.8k5](/packages/php-translation-translator)[longman/laravel-multilang

Package to integrate multi language (multi locale) functionality in Laravel 5.x

5514.5k1](/packages/longman-laravel-multilang)[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.

1926.6k1](/packages/smmoosavi-php-gettext)[amendozaaguiar/laraveles-spanish-for-jetstream

Archivos de traducción al español latinoamericano para Laravel con Jetstream (auth, pagination, passwords, validation + todas las cadenas de Jetstream).

1512.6k](/packages/amendozaaguiar-laraveles-spanish-for-jetstream)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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