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

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

hughcube/enum
=============

enum

1.1.2(4y ago)043.4k↓46.4%3MITPHPPHP &gt;=7.0

Since Apr 2Pushed 4y ago1 watchersCompare

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

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

 enum
======

[](#-enum-)

enum [![Build Status](https://camo.githubusercontent.com/d4a15aca3c4b1b1656ee29e6d8bd42dbc5acd3520c269a2b8f5914d9be3cde94/68747470733a2f2f7472617669732d63692e636f6d2f68756768637562652f656e756d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/hughcube/enum)

Installing
----------

[](#installing)

```
$ composer require hughcube/enum -vvv
```

Usage
-----

[](#usage)

TODO

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/hughcube/enum/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/hughcube/enum/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

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

Total

4

Last Release

1574d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5361789?v=4)[hugh.li](/maintainers/hughcube)[@hughcube](https://github.com/hughcube)

---

Top Contributors

[![hughcube](https://avatars.githubusercontent.com/u/5361789?v=4)](https://github.com/hughcube "hughcube (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[anthonybudd/wp_ajax

4517.4k](/packages/anthonybudd-wp-ajax)

PHPackages © 2026

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