PHPackages                             julienbornstein/php-enum-countries - 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. julienbornstein/php-enum-countries

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

julienbornstein/php-enum-countries
==================================

Country ISO 3166-1 alpha-2 and alpha-3 enum classes for myclabs/php-enum library

0.1.0(5y ago)113.3k↓35.5%MITPHPPHP &gt;=7.1

Since Jan 30Pushed 5y agoCompare

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

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

php-enum-countries
==================

[](#php-enum-countries)

Country ISO 3166-1 alpha-2 and alpha-3 enum classes for [myclabs/php-enum](https://github.com/myclabs/) library.

Installation
------------

[](#installation)

```
composer require julienbornstein/php-enum-countries

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1934d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/274dfb5d01b6a08bdfca95bc73fbcd07844747b24f8fda98fcef3304e66d0d05?d=identicon)[julienbornstein](/maintainers/julienbornstein)

---

Top Contributors

[![julienbornstein](https://avatars.githubusercontent.com/u/548449?v=4)](https://github.com/julienbornstein "julienbornstein (1 commits)")

---

Tags

enumcountry

### Embed Badge

![Health badge](/badges/julienbornstein-php-enum-countries/health.svg)

```
[![Health](https://phpackages.com/badges/julienbornstein-php-enum-countries/health.svg)](https://phpackages.com/packages/julienbornstein-php-enum-countries)
```

###  Alternatives

[myclabs/php-enum

PHP Enum implementation

2.7k227.9M637](/packages/myclabs-php-enum)[components/flag-icon-css

A curated collection of all country flags in SVG — plus the CSS for easier integration.

12.0k1.6M23](/packages/components-flag-icon-css)[rinvex/countries

Rinvex Countries is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.

1.7k7.4M48](/packages/rinvex-countries)[dasprid/enum

PHP 7.1 enum implementation

382146.0M11](/packages/dasprid-enum)[spatie/enum

PHP Enums

84529.1M68](/packages/spatie-enum)[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

49644.8M97](/packages/marc-mabe-php-enum)

PHPackages © 2026

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