PHPackages                             alsal/enumeration - 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. alsal/enumeration

ActiveLibrary

alsal/enumeration
=================

Abstract PHP Enumeration Class

v1.1.3(2y ago)017MITPHPPHP 8.\*

Since Nov 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alsal/Enumeration)[ Packagist](https://packagist.org/packages/alsal/enumeration)[ Docs](https://github.com/alsal/Enumeration)[ RSS](/packages/alsal-enumeration/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Enumeration
===========

[](#enumeration)

### Contributors

[](#contributors)

Thanks to [everyone participating](http://github.com/alsal/Enumeration/contributors) in the development of this extension.

- Alan Salgado [alsal](http://github.com/alsal)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

5

Last Release

1022d ago

PHP version history (2 changes)v1.0PHP ^7.2

v1.1.3PHP 8.\*

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/67573?v=4)[Alan Salgado](/maintainers/alsal)[@alsal](https://github.com/alsal)

---

Top Contributors

[![alsal](https://avatars.githubusercontent.com/u/67573?v=4)](https://github.com/alsal "alsal (18 commits)")

---

Tags

enumenumerationvalue list

### Embed Badge

![Health badge](/badges/alsal-enumeration/health.svg)

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

###  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)[greg0ire/enum

work around the missing enum type in php

45390.5k9](/packages/greg0ire-enum)

PHPackages © 2026

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