PHPackages                             cedx/enum - 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. cedx/enum

Abandoned → [myclabs/php-enum](/?search=myclabs%2Fphp-enum)Library[Utility &amp; Helpers](/categories/utility)

cedx/enum
=========

A simple implementation of enumerated types.

10.0.0(3y ago)33.0kMITPHP &gt;=8.1.0

Since Nov 7Compare

[ Source](https://github.com/cedx/enum.php)[ Packagist](https://packagist.org/packages/cedx/enum)[ Docs](https://github.com/cedx/enum.php)[ GitHub Sponsors](https://github.com/sponsors/cedx)[ RSS](/packages/cedx-enum/feed)WikiDiscussions Synced 2mo ago

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/cedx/enum.php).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

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

Recently: every ~200 days

Total

23

Last Release

1441d ago

Major Versions

v5.0.0 → v6.0.02017-12-03

v6.1.0 → v7.0.02018-06-08

v7.5.0 → v8.0.02019-12-08

v8.2.0 → 9.0.02020-12-11

9.1.0 → 10.0.02022-06-04

PHP version history (6 changes)v1.0.0PHP &gt;=7.0.0

v6.0.0PHP &gt;=7.1.0

v7.0.0PHP &gt;=7.2.0

v8.0.0PHP &gt;=7.4.0

9.0.0PHP &gt;=8.0.0

9.1.0PHP &gt;=8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fa262e266f1377a51ae2e55a0a057299949229d441f67185645914f5c973d58?d=identicon)[cedx](/maintainers/cedx)

---

Tags

typeenumreflectionenumeration

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cedx-enum/health.svg)

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

###  Alternatives

[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

49444.8M97](/packages/marc-mabe-php-enum)[consistence/consistence

Consistence - consistent approach and additions to PHP's functionality

1831.1M18](/packages/consistence-consistence)[cerbero/enum

Zero-dependencies package to supercharge enum functionalities.

359207.5k2](/packages/cerbero-enum)[garoevans/php-enum

Convenient way to always have an Enum object available and utilise Spl Types if available.

19158.8k5](/packages/garoevans-php-enum)[cerbero/laravel-enum

Laravel package to supercharge enum functionalities.

18989.6k](/packages/cerbero-laravel-enum)[emreyarligan/enum-concern

A PHP package for effortless Enumeration handling with Laravel Collections 📦 ✨

21156.3k1](/packages/emreyarligan-enum-concern)

PHPackages © 2026

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