fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

Fund package maintenance!
fre5h

Installs: 3 496 569

Dependents: 16

Suggesters: 1

Security: 0

Stars: 443

Watchers: 10

Forks: 73

Open Issues: 11

Type:symfony-bundle

v8.1.1 2022-01-26 09:07 UTC

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='~8.1'

Choose the version you need
Bundle Version (X.Y.Z) PHP Symfony Doctrine Bundle Comment
8.1.* >= 8.1.0 5.4, 6.0 >= 2.5 Current version
7.5.* >= 8.0.0 5.4 >= 2.5 Previous version

Check the config/bundles.php file

By default, Symfony Flex will add this bundle to the config/bundles.php file. But in case when 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.