Download the PHP package gusarov112/php-enum-doctrine without Composer
On this page you can find all versions of the php package gusarov112/php-enum-doctrine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gusarov112/php-enum-doctrine
More information about gusarov112/php-enum-doctrine
Files in gusarov112/php-enum-doctrine
Download gusarov112/php-enum-doctrine
More information about gusarov112/php-enum-doctrine
Files in gusarov112/php-enum-doctrine
Vendor gusarov112
Package php-enum-doctrine
Short Description Allows to add you custom php enums as doctrine type
License MIT
Homepage http://github.com/gusarov112/php-enum-doctrine
Package php-enum-doctrine
Short Description Allows to add you custom php enums as doctrine type
License MIT
Homepage http://github.com/gusarov112/php-enum-doctrine
Keywords collectiongeneric
Please rate this library. Is it a good library?
Informations about the package php-enum-doctrine
Php Enum doctrine
- Allows to add you custom php enums as doctrine type.
- Supports generation of correct alter SQL when updating enum values.
Extension for php-enum (myclabs fork)
Installation
Than require package
Symfony configuration
Example
Create enum
Create corresponding enum type by extending abstract type
Use your column type in doctrine entity
Do not forger to register your type
Add event subscriber if you have migrations bundle and want to autogenerate enum list alter SQL's
All versions of php-enum-doctrine with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1
ext-json Version *
ext-pdo Version *
gusarov112/php-enum Version ^v2.0
doctrine/orm Version ^2.7
ext-json Version *
ext-pdo Version *
gusarov112/php-enum Version ^v2.0
doctrine/orm Version ^2.7
The package gusarov112/php-enum-doctrine contains the following files
Loading the files please wait ...