PHPackages                             iio/phpcountry - 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. iio/phpcountry

Abandoned → [symfony/intl](/?search=symfony%2Fintl)ArchivedLibrary[Localization &amp; i18n](/categories/localization)

iio/phpcountry
==============

\[Deprecated\] Get localized country names from ISO 3166-1 codes

0.3.1(13y ago)33.0kMITPHPPHP &gt;=5.3.0

Since Oct 3Pushed 11y ago1 watchersCompare

[ Source](https://github.com/hanneskod/phpcountry)[ Packagist](https://packagist.org/packages/iio/phpcountry)[ Docs](https://github.com/iio/phpcountry)[ RSS](/packages/iio-phpcountry/feed)WikiDiscussions master Synced 1mo ago

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

> **NOTE:** This package is deprecated and will not be updated. Please use the symfony [Intl](http://symfony.com/doc/current/components/intl.html#country-names) component instead.

PHP Country
===========

[](#php-country)

Get localized country names from ISO 3166-1 codes

Usage
-----

[](#usage)

```
$country = new \iio\phpcountry\Country;

// only needed if you do not want phpcountry to use the
// current locale setting
$country->setLang('en');

// outputs: Sweden
echo $country->translate('se');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

3

Last Release

4854d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0af6567c7f4f5518a422192675445464fdcf18acbc9459b3205da9fd446f8d0?d=identicon)[hanneskod](/maintainers/hanneskod)

---

Top Contributors

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

---

Tags

ISO 3166Country names

### Embed Badge

![Health badge](/badges/iio-phpcountry/health.svg)

```
[![Health](https://phpackages.com/badges/iio-phpcountry/health.svg)](https://phpackages.com/packages/iio-phpcountry)
```

###  Alternatives

[monarobase/country-list

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

2672.7M7](/packages/monarobase-country-list)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)

PHPackages © 2026

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