PHPackages                             okapon/doctrine-set-type-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. [Database &amp; ORM](/categories/database)
4. /
5. okapon/doctrine-set-type-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

okapon/doctrine-set-type-bundle
===============================

Provides support of MySQL SET type for Doctrine2 in Symfony2 applications.

v0.5.0(9y ago)11159.0k↓50%10[2 PRs](https://github.com/okapon/DoctrineSetTypeBundle/pulls)MITPHPPHP &gt;=5.5.0

Since Jan 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/okapon/DoctrineSetTypeBundle)[ Packagist](https://packagist.org/packages/okapon/doctrine-set-type-bundle)[ Docs](https://github.com/okapon/DoctrineSetTypeBundle)[ RSS](/packages/okapon-doctrine-set-type-bundle/feed)WikiDiscussions master Synced 1mo ago

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

DoctrineSetTypeBundle
=====================

[](#doctrinesettypebundle)

The `DoctrineSetTypeBundle` provides support MySQL SET type for Doctrine2 in your Symfony2 or Symfony3 application.

[![Latest Stable Version](https://camo.githubusercontent.com/f709062b9c5dc09a0282e8d63671070b5028da77d1319f2aed1365dbebeb3cec/68747470733a2f2f706f7365722e707567782e6f72672f6f6b61706f6e2f646f637472696e652d7365742d747970652d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/okapon/doctrine-set-type-bundle)[![Total Downloads](https://camo.githubusercontent.com/773f2aed0b4a18ac901b6852c36b6291aa824465d587912046a757276c0222b2/68747470733a2f2f706f7365722e707567782e6f72672f6f6b61706f6e2f646f637472696e652d7365742d747970652d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/okapon/doctrine-set-type-bundle)[![Build Status](https://camo.githubusercontent.com/c8a3f9eb109f5fa061a7353ea09a9078bad0fc8329a8966f157b31aa639e2764/68747470733a2f2f7472617669732d63692e6f72672f6f6b61706f6e2f446f637472696e655365745479706542756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/okapon/DoctrineSetTypeBundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d689f14e7a236943825d26c4bbfdf7d4ca5fd0f4f7eae1ccf43964147d0c685d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f6b61706f6e2f446f637472696e655365745479706542756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/okapon/DoctrineSetTypeBundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/3f6de4f22440b0721f1407dfdd6a07464201d5182d1b2b0badd5048879995c40/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f6b61706f6e2f446f637472696e655365745479706542756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/okapon/DoctrineSetTypeBundle/?branch=master)

[![License](https://camo.githubusercontent.com/6ce86e41df9d0d31e28d2568a08ca07b222b9d41adb07cb41be1398403b2ba80/68747470733a2f2f706f7365722e707567782e6f72672f6f6b61706f6e2f646f637472696e652d7365742d747970652d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/okapon/doctrine-set-type-bundle)

Features
--------

[](#features)

- SET type mapping for mysql
- SET type validation
- Doctrine migrations

Requirements
------------

[](#requirements)

- PHP ~5.5
- Symfony ~2.6 or ~3.0
- Doctrine ~2.3

Supported platforms
-------------------

[](#supported-platforms)

- MySQL

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

[](#installation)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Using composer

```
$ composer require okapon/doctrine-set-type-bundle "0.5.0"

```

Step 2: Enable the Bundle
-------------------------

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding the following line in the `app/AppKernel.php`file of your project:

```
