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

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

tdx996/php-enum
===============

A basic implementation of a php Enum.

v0.0.2.9(6y ago)046[1 PRs](https://github.com/tdxius/php-enum/pulls)0BSDPHPPHP &gt;=7.2

Since Mar 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tdxius/php-enum)[ Packagist](https://packagist.org/packages/tdx996/php-enum)[ RSS](/packages/tdx996-php-enum/feed)WikiDiscussions master Synced 3w ago

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

php-enum
========

[](#php-enum)

A basic implementation of a php Enum

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

11

Last Release

2297d ago

PHP version history (2 changes)v0.0.1PHP &gt;=7.3

v0.0.2.4PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/42816dc67bf1afcae333fa87fe9b91ea69bbde2c3606a3d359eb1d37d3bf71cc?d=identicon)[tdx996](/maintainers/tdx996)

---

Top Contributors

[![tdxius](https://avatars.githubusercontent.com/u/26083398?v=4)](https://github.com/tdxius "tdxius (10 commits)")

---

Tags

phpenum

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[mindtwo/native-enum

Package for using native php enums.

2630.2k1](/packages/mindtwo-native-enum)

PHPackages © 2026

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