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

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

exsyst/mini-enum
================

Lightweight enum helpers

1.0.2(1y ago)03.2k1MITPHPPHP &gt;=7.1.3

Since Apr 25Pushed 1y ago2 watchersCompare

[ Source](https://github.com/EXSyst/mini-enum)[ Packagist](https://packagist.org/packages/exsyst/mini-enum)[ RSS](/packages/exsyst-mini-enum/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (1)

What is that?
=============

[](#what-is-that)

A few lightweight classes to ease working with enums, with very small run-time performance impact.

How to use
==========

[](#how-to-use)

1. Run `composer require exsyst/mini-enum` in your project ;
2. Derive your enum classes containing standalone values from `EXSyst\MiniEnum\Enum` ;
3. Derive your enum classes containing bit masks from `EXSyst\MiniEnum\FlagsEnum`.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

Total

3

Last Release

726d ago

PHP version history (2 changes)1.0.0PHP ^7.1.3

1.0.1PHP &gt;=7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/8789b6246ea714f84b9ea6490a1d75175205e9c130e076ee20ccff121fb916df?d=identicon)[Exter-N](/maintainers/Exter-N)

---

Top Contributors

[![Exter-N](https://avatars.githubusercontent.com/u/2236342?v=4)](https://github.com/Exter-N "Exter-N (3 commits)")

---

Tags

enumphpenum

### Embed Badge

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

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

###  Alternatives

[myclabs/php-enum

PHP Enum implementation

2.7k227.9M637](/packages/myclabs-php-enum)[dasprid/enum

PHP 7.1 enum implementation

379146.0M11](/packages/dasprid-enum)[spatie/enum

PHP Enums

84429.1M68](/packages/spatie-enum)[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

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

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[consistence/consistence

Consistence - consistent approach and additions to PHP's functionality

1831.1M18](/packages/consistence-consistence)

PHPackages © 2026

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