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

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

zrnik/enum
==========

Solution for almost 12 years old Stack Overflow question I returned many times to, is finally packed and ready to require!

v1.0.3(3y ago)01.2k1MITPHP &gt;=7.4

Since Sep 17Compare

[ Source](https://github.com/Zrnik/Enum)[ Packagist](https://packagist.org/packages/zrnik/enum)[ RSS](/packages/zrnik-enum/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (3)Versions (6)Used By (1)

### README not available

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

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Total

5

Last Release

1111d ago

Major Versions

v0.1.0 → v1.0.12023-04-12

PHP version history (2 changes)v1.0.0PHP &gt;=7.4

0.1.x-devPHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/55077930?v=4)[Štěpán Zrník](/maintainers/zrnik)[@Zrnik](https://github.com/Zrnik)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[marcogermani87/filament-cookie-consent

Easy cookie consent integrations for Filament

1917.0k](/packages/marcogermani87-filament-cookie-consent)

PHPackages © 2026

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