Skip to content

danaki/doctrine-enum-type-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DoctrineEnumTypeBundle

Configures Doctrine Enum Type via Symfony config file.

Installation

composer require danaki/doctrine-enum-type-bundle

Usage

Create config/packages/doctrine_enum_type.yaml with similar contents:

danaki_doctrine_enum_type:
    types:
        php_enum_gender: Acelaya\Enum\Gender
        App\Enum\YourEnum: ~

Problems

If you're getting "Unknown column type" error, try to clear cache with rm -rf var/cache

About

Bundle for Doctrine Enum Type

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages