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

AbandonedArchivedFuel-module[Utility &amp; Helpers](/categories/utility)

indigophp/indigo-enum
=====================

Use enumerations in IndigoPHP packages/modules

010PHP

Since Jul 15Pushed 11y ago1 watchersCompare

[ Source](https://github.com/indigophp/indigo-enum)[ Packagist](https://packagist.org/packages/indigophp/indigo-enum)[ RSS](/packages/indigophp-indigo-enum/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Indigo Enum
===========

[](#indigo-enum)

[![Build Status](https://camo.githubusercontent.com/9559006a1d5f3a65a48daa906eff59dc87c120ef3948e2ccd6b739a0251ae5e4/68747470733a2f2f7472617669732d63692e6f72672f696e6469676f7068702f696e6469676f2d656e756d2e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/indigophp/indigo-enum)[![Latest Stable Version](https://camo.githubusercontent.com/b86e097587de515d98d1ac4ea110d97be0c80060e204672680c193cf4ae1714f/68747470733a2f2f706f7365722e707567782e6f72672f696e6469676f7068702f696e6469676f2d656e756d2f762f737461626c652e706e67)](https://packagist.org/packages/indigophp/indigo-enum)[![Total Downloads](https://camo.githubusercontent.com/80200af6f63676a9985d8f23c2a4f1126a6908502cff3cd3e6a054117ada61a9/68747470733a2f2f706f7365722e707567782e6f72672f696e6469676f7068702f696e6469676f2d656e756d2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/indigophp/indigo-enum)[![License](https://camo.githubusercontent.com/476a64104c7ec15ed680be86e9ef0e5bc3a4b1f5e0d3014917ad6309f7efbd2b/68747470733a2f2f706f7365722e707567782e6f72672f696e6469676f7068702f696e6469676f2d656e756d2f6c6963656e73652e706e67)](https://packagist.org/packages/indigophp/indigo-enum)

**This package lets any IndigoPHP packages/modules to use enumerations.**

Install
-------

[](#install)

Via Composer

```
{
    "require": {
        "indigophp/indigo-enum": "@stable"
    }
}
```

Usage
-----

[](#usage)

Testing
-------

[](#testing)

```
$ codecept run
```

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/indigophp/indigo-enum/blob/develop/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Márk Sági-Kazár](https://github.com/sagikazarmark)
- [All Contributors](https://github.com/indigophp/indigo-enum/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/indigophp/indigo-enum/blob/develop/LICENSE) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e4e105cea62b616d4cb376b08a849b6a428f646998537de150d16a8eb537b90?d=identicon)[mark.sagikazar](/maintainers/mark.sagikazar)

![](https://www.gravatar.com/avatar/1585b5a08e138e348f5b646231d0f16cb2eae06501fb9462bbc97a794d4de84a?d=identicon)[TamasBarta](/maintainers/TamasBarta)

---

Top Contributors

[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (2 commits)")

### Embed Badge

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

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

###  Alternatives

[sensorsdata/sa-sdk-php

PHP SDK for Sensors Analytics

32343.4k2](/packages/sensorsdata-sa-sdk-php)[phamda/phamda

Auto-curried function library

1922.8k](/packages/phamda-phamda)

PHPackages © 2026

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