PHPackages                             zoddo/dateinterval-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. zoddo/dateinterval-bundle

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

zoddo/dateinterval-bundle
=========================

A Symfony bundle for the DateInterval library for Doctrine.

v1.0.0(11y ago)0175MITPHP

Since Mar 14Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Zoddo/php-symfony-dateinterval)[ Packagist](https://packagist.org/packages/zoddo/dateinterval-bundle)[ RSS](/packages/zoddo-dateinterval-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

DateInterval Bundle
===================

[](#dateinterval-bundle)

A Symfony bundle for the DateInterval library for Doctrine.

Summary
-------

[](#summary)

The bundle will automatically

- register the `dateinterval` Doctrine mapping type
- add the `DATE_INTERVAL` DQL function

to the default entity manager (`doctrine.orm.entity_manager`).

Installation
------------

[](#installation)

Add it to your list of Composer dependencies:

```
$ composer require zoddo/dateinterval-bundle=1.* herrera-io/doctrine-dateinterval=dev-master@dev
```

Add it to your `app/AppKernel.php` file:

```
