hellorse / doctrine-enum-bundle
Provides support of ENUM type for Doctrine2 in Symfony applications.
Fund package maintenance!
fre5h
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 75
Type:symfony-bundle
Requires
- php: >=8.1
- doctrine/common: ^3.3
- doctrine/dbal: ^3.3
- doctrine/doctrine-bundle: ^2.6
- doctrine/orm: ^2.11
- symfony/config: ^6.1
- symfony/dependency-injection: ^6.1
- symfony/doctrine-bridge: ^6.1
- symfony/framework-bundle: ^6.1
- symfony/http-kernel: ^6.1
- symfony/validator: ^6.1
- twig/twig: ^3.4
Requires (Dev)
- escapestudios/symfony2-coding-standard: ^3.12
- jetbrains/phpstorm-attributes: ^1.0
- phpstan/phpstan: ^1.8
- phpstan/phpstan-doctrine: ^1.3
- phpstan/phpstan-phpunit: ^1.1
- phpstan/phpstan-symfony: ^1.2
- phpunit/phpunit: ^9.5
- slam/phpstan-extensions: ^6.0
- symfony/form: ^6.1
- dev-main
- v9.0.4
- v9.0.3
- v9.0.2
- v9.0.1
- v9.0.0
- v8.1.2
- v8.1.1
- v8.1.0
- v8.0.0
- v7.5.1
- v7.5.0
- v7.4.0
- v7.3.7
- v7.3.6
- v7.3.5
- v7.3.4
- v7.3.3
- v7.3.2
- v7.3.1
- v7.3.0
- v7.2.0
- v7.1.3
- v7.1.2
- v7.1.1
- v7.1.0
- v7.0.2
- v7.0.1
- v7.0.0
- v6.6.4
- v6.6.3
- v6.6.2
- v6.6.1
- v6.6.0
- v6.5.1
- v6.5.0
- v6.4.0
- v6.3.0
- v6.2.5
- v6.2.4
- v6.2.3
- v6.2.2
- v6.2.1
- v6.2.0
- v6.1.0
- v6.0.2
- v6.0.1
- v6.0.0
- v5.3.0
- v5.2.0
- v5.1.2
- v5.1.1
- v5.1.0
- v5.0.2
- v5.0.1
- v5.0.0
- v4.8.2
- v4.8.1
- v4.8.0
- v4.7.1
- v4.7.0
- v4.6.5
- v4.6.4
- v4.6.3
- v4.6.2
- v4.6.1
- v4.6
- v4.5
- v4.4
- v4.3
- v4.2
- v4.1
- v4.0
- v3.3
- v3.2
- v3.1
- v3.0
- v2.6
- v2.5
- v2.4
- v2.3
- v2.2
- v2.1
- v2.0
- v1.3
- v1.2
- v1.1
- v1.0
This package is not auto-updated.
Last update: 2024-12-19 23:17:35 UTC
README
📦 Provides support of ENUM type for Doctrine in Symfony applications.
Supported platforms 🧐
Installation 🌱
composer req fresh/doctrine-enum-bundle='~7.4'
Choose the version you need
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... ];
Using 🧑🎓
Features 🎁
- NULL values
- Default value
- Building the form
- Additional methods
- Common types
- Readable ENUM values in templates
- ENUM constants in templates
- ENUM values in templates
- Hook for Doctrine migrations
Contributing 🤝
Read the CONTRIBUTING file.