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

ActiveLibrary

evdw/country-list
=================

This library allow you to get countries names and ISO codes in all languages for php usage.

2.1.0(7y ago)012.5kMITPHPPHP ^7.0

Since Nov 27Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (13)Used By (0)

Country List (by EVDW)
======================

[](#country-list-by-evdw)

This library allow you to get countries names and ISO codes in all languages for php usage.

Installing
----------

[](#installing)

```
$ composer require evdw/country-list
```

Using
-----

[](#using)

Get a country names list in a specific language:

```
use EVDW\CountriesFactory;

$countriesFactory = new CountriesFactory;
$countriesFactory->getCountries('fr'); // Return a countries array in french
```

Get a country iso code, by specifying the language in which the country is written:

```
use EVDW\CountriesFactory;

$countriesFactory = new CountriesFactory;
$countriesFactory->getIsoCode('fr', 'france'); // Return the french ISO code
```

If the locale or the country name do not exist, no errors are throw, it returns null or empty array.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 91.9% 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 ~302 days

Recently: every ~234 days

Total

8

Last Release

2796d ago

Major Versions

1.0.1 → 2.0.02016-01-06

PHP version history (5 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

### Community

Maintainers

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

---

Top Contributors

[![umpirsky](https://avatars.githubusercontent.com/u/208957?v=4)](https://github.com/umpirsky "umpirsky (91 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)")[![ostrolucky](https://avatars.githubusercontent.com/u/496233?v=4)](https://github.com/ostrolucky "ostrolucky (1 commits)")[![koppi](https://avatars.githubusercontent.com/u/9458631?v=4)](https://github.com/koppi "koppi (1 commits)")[![EVDW](https://avatars.githubusercontent.com/u/15868559?v=4)](https://github.com/EVDW "EVDW (1 commits)")[![hrubymar10](https://avatars.githubusercontent.com/u/2218817?v=4)](https://github.com/hrubymar10 "hrubymar10 (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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