PHPackages                             raksul/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. raksul/doctrine-set-type-bundle

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

raksul/doctrine-set-type-bundle
===============================

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

v2.1.0(3y ago)0233.0k↓35.5%1MITPHPPHP ^7.4|^8.0CI failing

Since May 7Pushed 3y ago106 watchersCompare

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

READMEChangelog (4)Dependencies (4)Versions (5)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/7e06a100ecd0a5fc6c0751730e533b52d80c24ff4737f8e335f7d8323af82795/68747470733a2f2f706f7365722e707567782e6f72672f72616b73756c2f646f637472696e652d7365742d747970652d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/raksul/doctrine-set-type-bundle)[![Build Status](https://camo.githubusercontent.com/f8755041acacc1b357d426d7df76161c6b2e26c9905157d4c3e12d1998908e63/68747470733a2f2f7472617669732d63692e6f72672f72616b73756c2f446f637472696e655365745479706542756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/raksul/DoctrineSetTypeBundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3d84a2006713f40ebd835fefe74d5f855b77cedd5bfd27f87c4c4893a2fc4f9d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f72616b73756c2f446f637472696e655365745479706542756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/raksul/DoctrineSetTypeBundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/3438bd739178c224f14ccbd2a70661f823b75a819188b5cd3101eea7ca2a3b86/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f72616b73756c2f446f637472696e655365745479706542756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/raksul/DoctrineSetTypeBundle/?branch=master)

[![License](https://camo.githubusercontent.com/86f4434266549d1db6944cd49ef1eb5682affc1d81dbf6d4d2e1f5aa23a3dbaa/68747470733a2f2f706f7365722e707567782e6f72672f72616b73756c2f646f637472696e652d7365742d747970652d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/raksul/doctrine-set-type-bundle)

Features
--------

[](#features)

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

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

[](#requirements)

- PHP ~7.2
- Symfony ~2.8 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 raksul/doctrine-set-type-bundle "1.0.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:

```
