PHPackages                             avryhof/countries-states - 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. avryhof/countries-states

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

avryhof/countries-states
========================

PHP Country and State Class

024PHP

Since Jan 8Pushed 11y ago1 watchersCompare

[ Source](https://github.com/avryhof/countries-states)[ Packagist](https://packagist.org/packages/avryhof/countries-states)[ RSS](/packages/avryhof-countries-states/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Countries and Cities
====================

[](#countries-and-cities)

A combined and simplified version of  and

Example
-------

[](#example)

```

  require("vendor/autoload.php")

Also related
=============
- https://packagist.org/packages/julien-c/iso3166
- https://github.com/TurkeyFried/us-state-lists
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/avryhof-countries-states/health.svg)

```
[![Health](https://phpackages.com/badges/avryhof-countries-states/health.svg)](https://phpackages.com/packages/avryhof-countries-states)
```

PHPackages © 2026

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