fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

Maintainers

👁 fre5h

Package info

github.com/fre5h/DoctrineEnumBundle

Type:symfony-bundle

pkg:composer/fresh/doctrine-enum-bundle

Fund package maintenance!

fre5h

Statistics

Installs: 7 029 833

Dependents: 16

Suggesters: 1

Stars: 462

Open Issues: 11

v12.0.1 2026-01-07 08:44 UTC

MIT 7e56d61a0772f29f38fc800da914b485532fa402

  • Artem Henvald <genvaldartem.woop@gmail.com>
  • Community

dbalsymfonymysqlbundlesqlitedoctrinepostgresqltypeenummssqlentity


README

📦 Provides ENUM type support for Doctrine in Symfony applications.

👁 Scrutinizer Quality Score
👁 Build Status
👁 CodeCov
👁 License
👁 Latest Stable Version
👁 Total Downloads
👁 StyleCI
👁 Gitter

Supported platforms 🧐

PostgreSQL SQLite MySQL MSSQL

Installation 🌱

composer req fresh/doctrine-enum-bundle

Choose the version you need
Bundle Version (X.Y.Z) PHP Symfony Doctrine Bundle Comment
12.0.* >= 8.4 >= 7.4 >= 2.12, >= 3.0 Current version
11.2.* >= 8.2 >= 6.4 >= 2.12, >= 3.0 Previous

Check the config/bundles.php file

By default, Symfony Flex will add this bundle to the config/bundles.php file. But in case you ignored contrib-recipe during bundle installation it would not be added. In this case add the bundle manually:

# config/bundles.php

return [
 // Other bundles...
 Fresh\DoctrineEnumBundle\FreshDoctrineEnumBundle::class => ['all' => true],
 // Other bundles...
];

Usage 🧑‍🎓

Features 🎁

Contributing 🤝

Read the CONTRIBUTING file.