Download the PHP package doctrineum/date-interval without Composer
On this page you can find all versions of the php package doctrineum/date-interval. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download doctrineum/date-interval
More information about doctrineum/date-interval
Files in doctrineum/date-interval
Download doctrineum/date-interval
More information about doctrineum/date-interval
Files in doctrineum/date-interval
Vendor doctrineum
Package date-interval
Short Description Adds DateInterval to Doctrine DBAL and ORM
License MIT
Homepage https://github.com/jaroslavtyc/doctrineum-date-interval
Package date-interval
Short Description Adds DateInterval to Doctrine DBAL and ORM
License MIT
Homepage https://github.com/jaroslavtyc/doctrineum-date-interval
Please rate this library. Is it a good library?
Informations about the package date-interval
Doctrine DateInterval Type
Adds DateInterval
to Doctrine ORM (can be used as a @Column(type="date-interval")
) and DBAL (can be used in DQL queries as DATE_INTERVAL
).
Usage
Installation
Add it to your list of Composer dependencies (or by manual edit your composer.json, the require
section)
Register new DBAL type:
Register new Doctrine ORM function:
When using Symfony with Doctrine you can do the same as above by configuration:
All versions of date-interval with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-bcmath Version *
doctrine/dbal Version ~2,>=2.2.3
doctrineum/self-registering-type Version ^2.1
granam/date-interval Version ^3.0
ext-bcmath Version *
doctrine/dbal Version ~2,>=2.2.3
doctrineum/self-registering-type Version ^2.1
granam/date-interval Version ^3.0
The package doctrineum/date-interval contains the following files
Loading the files please wait ....