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

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

yethee/enum-bundle
==================

This bundle provides a typed enumeration for Symfony applications

v3.0.0(7y ago)3188.4k11[1 PRs](https://github.com/yethee/BiplaneEnumBundle/pulls)MITPHPPHP &gt;=5.6

Since Oct 14Pushed 4y ago4 watchersCompare

[ Source](https://github.com/yethee/BiplaneEnumBundle)[ Packagist](https://packagist.org/packages/yethee/enum-bundle)[ RSS](/packages/yethee-enum-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (10)Used By (0)

BiplaneEnumBundle
=================

[](#biplaneenumbundle)

[![Build Status](https://camo.githubusercontent.com/4d782c7142b06d0128db4152f10d3cd680984f93528e9dfdd3259efe55b773fb/68747470733a2f2f6170702e7472617669732d63692e636f6d2f7965746865652f4269706c616e65456e756d42756e646c652e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/yethee/BiplaneEnumBundle)

This bundle provides a typed enumeration for your Symfony2 project.

**Note:** For Symfony 2.0.x, you need to use the 1.0.0 release of the bundle.

**Note:** For Symfony less than 2.7, you need to use the 1.2.0 release of the bundle.

### Features

[](#features)

- Provides base implementation for enum type.
- Provides base implementation for flags enum type (treated as a bit field, that is a set of flags).
- Uses enum types with Symfony's Form Component.
- Contains normalizer for Symfony's Serializer Component.
- Contains the custom handler for JMSSerializerBundle.

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

[](#installation)

### Add this bundle to your project

[](#add-this-bundle-to-your-project)

Install the bundle by running in a shell:

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

Add the bundle to your application kernel

```
