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

###  Alternatives

[jakoch/phantomjs-installer

A Composer package which installs the PhantomJS binary (Linux, Windows, Mac) into `/bin` of your project.

1515.4M72](/packages/jakoch-phantomjs-installer)[backpack/theme-tabler

UI for Backpack v6 that uses Tabler and Bootstrap v5.

35536.5k](/packages/backpack-theme-tabler)[mage-os/magento-cache-clean

A faster drop in replacement for bin/magento cache:clean with file watcher

48194.8k2](/packages/mage-os-magento-cache-clean)[symfony/ux-toggle-password

Toggle visibility of password inputs for Symfony Forms

26508.0k5](/packages/symfony-ux-toggle-password)[jacksleight/statamic-bard-texstyle

17172.5k](/packages/jacksleight-statamic-bard-texstyle)[bugloos/error-response-bundle

Error response handler

125.3k](/packages/bugloos-error-response-bundle)

PHPackages © 2026

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