Provides support of ENUM type for Doctrine in Symfony applications.
MySQL | SQLite | PostgreSQL | MSSQL |
---|
composer req fresh/doctrine-enum-bundle='~6.1'
Registration in Kernel for Symfony 4.0 is done automatically.
Bundle Version (X.Y.Z) | PHP | Symfony | Doctrine DBAL | Comment |
---|---|---|---|---|
6.1.* | >= 7.1.3 | >= 4.0 | >= 2.6 | Current version |
5.3.* | >= 5.6, <= 7.1 | >= 3.2, <= 3.4 | >= 2.5 | Bug fix support |
- NULL values
- Building the form
- Additional methods
- Readable ENUM values in templates
- ENUM constants in templates
- Hook for Doctrine migrations
Read the CONTRIBUTING file.