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

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

theantichris/enum
=================

A PHP implementation of an Enum class.

1.0.1(10y ago)110.4k↓50%GNU3PHPPHP &gt;=5.4.0

Since Dec 20Pushed 8y agoCompare

[ Source](https://github.com/theantichris/enum)[ Packagist](https://packagist.org/packages/theantichris/enum)[ RSS](/packages/theantichris-enum/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Enum
====

[](#enum)

A PHP implementation of an Enum class.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

2

Last Release

3767d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.0.0

1.0.1PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9afd971360a97ca987ca35148bd7f7c8631cdc1f364193826a6e27b6a6f7ce38?d=identicon)[theantichris](/maintainers/theantichris)

---

Top Contributors

[![theantichris](https://avatars.githubusercontent.com/u/1486502?v=4)](https://github.com/theantichris "theantichris (13 commits)")

---

Tags

enum

### Embed Badge

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

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

###  Alternatives

[myclabs/php-enum

PHP Enum implementation

2.7k227.9M637](/packages/myclabs-php-enum)[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)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[consistence/consistence

Consistence - consistent approach and additions to PHP's functionality

1831.1M18](/packages/consistence-consistence)

PHPackages © 2026

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