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

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

openclerk/country-list
======================

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

1.0.0(11y ago)17.9k1HTML

Since Feb 20Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

openclerk/country-list
======================

[](#openclerkcountry-list)

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

This uses all of the ICU data from [umpirsky/country-list](https://github.com/umpirsky/country-list)but reduces the size of the component by:

- Not including language dialects (e.g. just `en` rather than `en_GB`, `en_AU`, `en_NZ`, ...)
- Only including [ISO 639-1 languages](http://en.wikipedia.org/wiki/ISO_639-1), which covers the world major's languages
- Not including CLDR data, which includes country codes such as `Unknown or Invalid Region (ZZ)`

Installing
----------

[](#installing)

Include `openclerk/country-list` as a requirement in your project `composer.json`, and run `composer update` to install it into your project:

```
{
  "require": {
    "openclerk/country-list": "~1.0"
  }
}
```

You can then import the files through a number of different ways, e.g.

```
require(__DIR__ . "/vendor/openclerk/country-list/country/en/country.txt");
```

Building
--------

[](#building)

Building requires `composer` and `grunt`:

```
npm install
composer update
grunt

```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

4144d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ebbec5ccc867054461adebb7c5b6312f8256f989ef96b124892e6e89724afdb?d=identicon)[soundasleep](/maintainers/soundasleep)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[php-translation/translator

Translator services

25224.8k5](/packages/php-translation-translator)[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)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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