PHPackages                             php-standard-iso/iso-3166-2 - 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-2

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

php-standard-iso/iso-3166-2
===========================

Standard ISO 3166-2 transposed to PHP

1.0.3(4y ago)013BSD-3-ClausePHPPHP ^7.0 || ~8.0.0 || ~8.1.0

Since Jul 26Pushed 4y agoCompare

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

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

ISO 3166-2
==========

[](#iso-3166-2)

Part 2: Country subdivision code
--------------------------------

[](#part-2-country-subdivision-code)

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

- country names
- country subdivisions

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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

1537d ago

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

1.0.2PHP ^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 (5 commits)")

---

Tags

isostandardinternational standard organisationcountry nameiso3166-2

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  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)
