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

ActiveLibrary

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 1w ago

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

php-enum
========

[](#php-enum)

A basic implementation of a php Enum

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

2252d 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

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[lazerg/laravel-enum-pro

A powerful PHP enum extension with collection support, random selection, and magic static calls

4319.0k](/packages/lazerg-laravel-enum-pro)[mindtwo/native-enum

Package for using native php enums.

2626.0k1](/packages/mindtwo-native-enum)[sbsaga/toon

🧠 TOON for Laravel — a compact, human-readable, and token-efficient data format for AI prompts &amp; LLM contexts. Perfect for ChatGPT, Gemini, Claude, Mistral, and OpenAI integrations (JSON ⇄ TOON).

6115.6k](/packages/sbsaga-toon)

PHPackages © 2026

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