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

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

minimalcode/php-enum
====================

Minimalistic singleton enum for PHP

1.1.2RC(8y ago)23.2kApache-2.0PHPPHP &gt;=5.4

Since Oct 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/minimalcode-org/php-enum)[ Packagist](https://packagist.org/packages/minimalcode/php-enum)[ Docs](http://minimalcode.org)[ RSS](/packages/minimalcode-php-enum/feed)WikiDiscussions master Synced 1mo ago

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

php-enum
========

[](#php-enum)

Minimalistic singleton enum for PHP

This is a playground for a better enum support for php, a cleaner version of (mostly)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

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

Total

5

Last Release

3023d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20afdef8dc5b778eb7350fbb4a681fee435fcd2b8ea138d9923ae79d6104ce36?d=identicon)[dewos](/maintainers/dewos)

---

Top Contributors

[![dewos](https://avatars.githubusercontent.com/u/169822?v=4)](https://github.com/dewos "dewos (1 commits)")

---

Tags

phpenumenumerator

### Embed Badge

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

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

###  Alternatives

[ducks-project/spl-types

Polyfill Module for SplType PHP extension. This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string

1032.4k](/packages/ducks-project-spl-types)[kongulov/interact-with-enum

Trait for convenient use of ENUM in PHP

3052.3k2](/packages/kongulov-interact-with-enum)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)

PHPackages © 2026

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