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

Abandoned → [yokai/enum-bundle](/?search=yokai%2Fenum-bundle)Symfony-bundle[Utility &amp; Helpers](/categories/utility)

yeugone/enum-bundle
===================

Simple enumeration system with Symfony integration

v5.1.0(8mo ago)1213.2k↓50%5[4 issues](https://github.com/yokai-php/enum-bundle/issues)MITPHPPHP ^8.2CI failing

Since Oct 1Pushed 8mo ago4 watchersCompare

[ Source](https://github.com/yokai-php/enum-bundle)[ Packagist](https://packagist.org/packages/yeugone/enum-bundle)[ RSS](/packages/yeugone-enum-bundle/feed)WikiDiscussions 5.x Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (35)Used By (0)

YokaiEnumBundle
===============

[](#yokaienumbundle)

[![Tests](https://camo.githubusercontent.com/ccd6cd520eaed08ddc2ca714813b13808a428c07052aa288561fadfb16c50cac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f796f6b61692d7068702f656e756d2d62756e646c652f74657374732e796d6c3f6272616e63683d342e78267374796c653d666c61742d737175617265266c6162656c3d7465737473)](https://github.com/yokai-php/enum-bundle/actions)[![Coverage](https://camo.githubusercontent.com/ef2e96a21b00ff68dc5e43d9655759c8b38a5ec768731fb1558939bb4b05af1e/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f796f6b61692d7068702f656e756d2d62756e646c653f7374796c653d666c61742d737175617265)](https://codecov.io/gh/yokai-php/enum-bundle)[![Contributors](https://camo.githubusercontent.com/24597d0cb783b65d9445b473a1ce7af23e06989d95a27e9769e3725800dc8acb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f796f6b61692d7068702f656e756d2d62756e646c653f7374796c653d666c61742d737175617265)](https://github.com/yokai-php/enum-bundle/graphs/contributors)[![License](https://camo.githubusercontent.com/50f20bcaf3f58639144c4a77c10457be8baa69bbead1135e026eeb6385377c72/68747470733a2f2f706f7365722e707567782e6f72672f796f6b61692f656e756d2d62756e646c652f6c6963656e7365)](https://packagist.org/packages/yokai/enum-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/d49dc5f0848bb8b9ca21c22e9f9fcea01904aecb555cb79279bb6235fed2c06c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796f6b61692f656e756d2d62756e646c653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yokai/enum-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/d4e61e5a47fe69139c88a7668e7c385226d226b8be09ea543cb629753a9f45d6/68747470733a2f2f706f7365722e707567782e6f72672f796f6b61692f656e756d2d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/yokai/enum-bundle)[![Total Downloads](https://camo.githubusercontent.com/ab1b425d7e6a1fe359486729c77ac9cc14cdab60f5ee16de8c51d1cd813b85f4/68747470733a2f2f706f7365722e707567782e6f72672f796f6b61692f656e756d2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/yokai/enum-bundle)[![Downloads Monthly](https://camo.githubusercontent.com/1a0d24182952b14a60456ea8838ac5fdd6726a259f76cd38042aaa7eb26c3a07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f796f6b61692f656e756d2d62756e646c653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yokai/enum-bundle/stats)

This repository aims to provide simple enumeration implementation to Symfony.

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

[](#installation)

### Add the bundle as a dependency with Composer

[](#add-the-bundle-as-a-dependency-with-composer)

```
$ composer require yokai/enum-bundle
```

### Enable the bundle in the kernel

[](#enable-the-bundle-in-the-kernel)

```
