Download the PHP package neutronstars/doctrine-enum-php-type without Composer
On this page you can find all versions of the php package neutronstars/doctrine-enum-php-type. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download neutronstars/doctrine-enum-php-type
More information about neutronstars/doctrine-enum-php-type
Files in neutronstars/doctrine-enum-php-type
Download neutronstars/doctrine-enum-php-type
More information about neutronstars/doctrine-enum-php-type
Files in neutronstars/doctrine-enum-php-type
Vendor neutronstars
Package doctrine-enum-php-type
Short Description Added a doctrine type for the php enumeration system designed to be as close as possible to PHP 8.1 for earlier versions.
License Apache-2.0
Package doctrine-enum-php-type
Short Description Added a doctrine type for the php enumeration system designed to be as close as possible to PHP 8.1 for earlier versions.
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package doctrine-enum-php-type
Doctrine Enum PHP Type
Read the enum php doc:
Installation
composer require neutronstars/doctrine-enum-php-type
Doctrine Configuration
If you use it, you must create a Type class for your enum:
You must add this to the doctrine.yaml
configuration file:
On the annotation that contains the field of your entity, you must put the type:
you must comment out the column that contains the enum during your sql migration:
All versions of doctrine-enum-php-type with dependencies
PHP Build Version
Package Version
The package neutronstars/doctrine-enum-php-type contains the following files
Loading the files please wait ....