PHPackages                             php-standard-iso/iso-3166-1 - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. php-standard-iso/iso-3166-1

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

php-standard-iso/iso-3166-1
===========================

Standard ISO 3166-1 transposed to PHP

1.0.4(4y ago)0365BSD-3-ClausePHPPHP ^7.0 || ~8.0.0 || ~8.1.0

Since Jul 26Pushed 4y agoCompare

[ Source](https://github.com/php-standard-iso/iso-3166-1)[ Packagist](https://packagist.org/packages/php-standard-iso/iso-3166-1)[ Docs](https://github.com/php-standard-iso/iso-3166-1)[ RSS](/packages/php-standard-iso-iso-3166-1/feed)WikiDiscussions 1.0.x Synced 1mo ago

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

ISO 3166-1
==========

[](#iso-3166-1)

Codes for the representation of names of countries and their subdivisions Language Code - Part 1: Country codes
---------------------------------------------------------------------------------------------------------------

[](#codes-for-the-representation-of-names-of-countries-and-their-subdivisions-language-code---part-1-country-codes)

It defines three sets of country codes transposed to PHP includes:

- ISO 3166-1 alpha-2
- ISO 3166-1 alpha-3
- ISO 3166-1 numeric

Objectives of this module
-------------------------

[](#objectives-of-this-module)

Provide a micro module doing only one thing and which can be easily reused without useless code.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

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

Every ~42 days

Recently: every ~53 days

Total

6

Last Release

1538d ago

PHP version history (2 changes)1.0.0PHP ^7.3 || ~8.0.0

1.0.3PHP ^7.0 || ~8.0.0 || ~8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/12bb1d3b51340daa0f19c946f2ba7d3e4b277854fc722409809d0e43845fe0de?d=identicon)[garygitton](/maintainers/garygitton)

---

Top Contributors

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

---

Tags

isostandardcountry codeISO3166-1international standard organisation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-standard-iso-iso-3166-1/health.svg)

```
[![Health](https://phpackages.com/badges/php-standard-iso-iso-3166-1/health.svg)](https://phpackages.com/packages/php-standard-iso-iso-3166-1)
```

###  Alternatives

[league/iso3166

ISO 3166-1 PHP Library

69536.3M116](/packages/league-iso3166)[payum/iso4217

ISO 4217 PHP Library

16312.1M5](/packages/payum-iso4217)[kigkonsult/icalcreator

iCalcreator is the PHP implementation of rfc2445/rfc5545 and rfc updates, management of calendar information

2462.6M16](/packages/kigkonsult-icalcreator)[matriphe/iso-639

PHP library to convert ISO-639-1 code to language name.

503.3M6](/packages/matriphe-iso-639)[phpcheckstyle/phpcheckstyle

PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions

166184.4k11](/packages/phpcheckstyle-phpcheckstyle)[icecave/chrono

A date &amp; time library that is decoupled from the system clock.

54188.9k7](/packages/icecave-chrono)

PHPackages © 2026

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