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

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

hjcostabr/php-enum
==================

PHP implementation for ENUM functionality

2.0.0(7y ago)033MITPHPPHP &gt;=7.1.0

Since Jan 31Pushed 5y ago1 watchersCompare

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

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

hj\_phpEnum
===========

[](#hj_phpenum)

Enum implementation for PHP

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

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

Total

2

Last Release

2702d ago

Major Versions

v1.0 → 2.0.02018-12-20

PHP version history (2 changes)v1.0PHP &gt;=7.0.0

2.0.0PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/66188db4d6bd7953c035c4cd01dc12adf62db603be6ecb1bfc18c9409a5e823a?d=identicon)[hjCostaBR](/maintainers/hjCostaBR)

---

Top Contributors

[![hebert-nerit](https://avatars.githubusercontent.com/u/48807104?v=4)](https://github.com/hebert-nerit "hebert-nerit (15 commits)")

---

Tags

enumenumerationhjCostaBR

### Embed Badge

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

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

###  Alternatives

[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

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

Zero-dependencies package to supercharge enum functionalities.

359207.5k2](/packages/cerbero-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)[rexlabs/enum

Enumeration (enum) implementation for PHP

48482.2k2](/packages/rexlabs-enum)[thunderer/platenum

PHP enum library

36145.7k](/packages/thunderer-platenum)

PHPackages © 2026

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