Download the PHP package everlutionsk/enum-bundle without Composer
On this page you can find all versions of the php package everlutionsk/enum-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download everlutionsk/enum-bundle
More information about everlutionsk/enum-bundle
Files in everlutionsk/enum-bundle
Download everlutionsk/enum-bundle
More information about everlutionsk/enum-bundle
Files in everlutionsk/enum-bundle
Vendor everlutionsk
Package enum-bundle
Short Description Enum in PHP with Symfony & Doctrine integration
License MIT
Package enum-bundle
Short Description Enum in PHP with Symfony & Doctrine integration
License MIT
Please rate this library. Is it a good library?
Informations about the package enum-bundle
EnumBundle
Enum in PHP with Symfony & Doctrine integration.
Allows for cleaner, object-oriented SRP code.
Installation
composer require everlutionsk/enum-bundle
Implementation
Create new Enum
Use it!
PHP:
Twig:
Map Enum to database
In your app, create a service that's called exactly enum.db_map
and make it implement EnumDBMapInterface
.
Configuration in plain PHP is good for refactoring.
Use Enum in entities
Use Enum seamlessly in forms
No DataTransformer needed to be explicitly declared. It is already built-in in the form type.
EnumRadioType
is also available.
Happy Enum-ing!
All versions of enum-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
symfony/form Version ^3
doctrine/dbal Version ^2.6
doctrine/doctrine-bundle Version ^1.7
doctrine/orm Version ^2.5
symfony/form Version ^3
doctrine/dbal Version ^2.6
doctrine/doctrine-bundle Version ^1.7
doctrine/orm Version ^2.5
The package everlutionsk/enum-bundle contains the following files
Loading the files please wait ....