Download the PHP package doctrineum/boolean without Composer
On this page you can find all versions of the php package doctrineum/boolean. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download doctrineum/boolean
More information about doctrineum/boolean
Files in doctrineum/boolean
Download doctrineum/boolean
More information about doctrineum/boolean
Files in doctrineum/boolean
Vendor doctrineum
Package boolean
Short Description Enumeration type for Doctrine - booleans only
License MIT
Package boolean
Short Description Enumeration type for Doctrine - booleans only
License MIT
Please rate this library. Is it a good library?
Informations about the package boolean
Doctrine Boolean enum
About
Adds Enum to Doctrine ORM
(can be used as a @Column(type="boolean_enum")
).
Usage
Installation
Add it to your list of Composer dependencies (or by manual edit your composer.json, the require
section)
Note: NULL is prohibited. NULL means "I don't know" and that is not FALSE neither TRUE. If you want to use NULL, as lets say FALSE, do that conversion by your own, because you are the only one "who knows".
Doctrine integration
Register new DBAL type:
When using Symfony with Doctrine you can do the same as above by configuration:
All versions of boolean with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
granam/strict-object Version ^3.0
doctrineum/scalar Version ^3.1
granam/boolean Version ^3.1
granam/boolean-enum Version ^1.0
granam/strict-object Version ^3.0
doctrineum/scalar Version ^3.1
granam/boolean Version ^3.1
granam/boolean-enum Version ^1.0
The package doctrineum/boolean contains the following files
Loading the files please wait ....