manakao / doctrine-enum-type-bundle
This bundle provides a typed enumeration for Symfony5 applications
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 9
Type:symfony-bundle
Requires
- php: ^7.1
- acelaya/doctrine-enum-type: ^2.2
- symfony/framework-bundle: ^4.0
This package is auto-updated.
Last update: 2025-03-13 02:10:49 UTC
README
Configures Doctrine Enum Type via Symfony config file.
Installation
composer require danaki/doctrine-enum-type-bundle
Usage
Create config/doctrine_enum_type.yaml
with similar contents:
danaki_doctrine_enum_type:
types:
php_enum_gender: Acelaya\Enum\Gender
Acelaya\Enum\Action: ~
Problems
If you're getting "Unknown column type" error, try to clear cache with rm -rf var/cache