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

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

lamoda/enum-bundle
==================

Utility wrapper around PHP-enum

1.6(2y ago)101.6k3MITPHPPHP ^7.1 || ^8.0CI failing

Since Jul 12Pushed 2y ago32 watchersCompare

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

READMEChangelog (8)Dependencies (7)Versions (9)Used By (0)

Lamoda PHP Enum bundle
======================

[](#lamoda-php-enum-bundle)

Utility wrapper for

Installation
------------

[](#installation)

Usage is as simple as

```
composer require lamoda/enum-bundle:^1.0
```

```
// Kernel

public function registerBundles()
{
    // ...
    $bundles[] = new \Lamoda\EnumBundle\LamodaEnumBundle();
    // ...
}
```

```
# config.yml
lamoda_enum:
    dbal_types:
        # short example
        my_domain_enum: My\Domain\Enum
        # full example
        my_domain_enum_2:
          class: My\Domain\Enum
          # identical strategy saves enum as its name as is, no conversion
          # lowercase strategy converts enum name to lowercase and vice versa on fetch
          strategy: identical
```

```
class MyEntity
{
    /** @ORM\Column(type="my_domain_enum") */
    private $value;
}
```

This will enable conversion of value field from your enum

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~363 days

Total

8

Last Release

819d ago

PHP version history (2 changes)1.0PHP ^7.1

1.3PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed906771163ff68cfb365bdd3b8278a3ce1b464f94051ff7ab50c03a30110efe?d=identicon)[scaytrase](/maintainers/scaytrase)

---

Top Contributors

[![akurov-lam](https://avatars.githubusercontent.com/u/58327717?v=4)](https://github.com/akurov-lam "akurov-lam (1 commits)")[![dedpikhto](https://avatars.githubusercontent.com/u/3489952?v=4)](https://github.com/dedpikhto "dedpikhto (1 commits)")[![lalatechla](https://avatars.githubusercontent.com/u/158078434?v=4)](https://github.com/lalatechla "lalatechla (1 commits)")[![scaytrase](https://avatars.githubusercontent.com/u/6578413?v=4)](https://github.com/scaytrase "scaytrase (1 commits)")

---

Tags

bundleenumphpphp-enum-bundle

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[numero2/contao-storelocator

Contao Plugin for managing stores (or in common address data) and providing a frontend-search based on geo data

121.5k](/packages/numero2-contao-storelocator)

PHPackages © 2026

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