PHPackages                             salamek/doctrine-daterange - 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. salamek/doctrine-daterange

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

salamek/doctrine-daterange
==========================

Supports postgre DateRange in Doctrine DBAL.

v1.1(9y ago)417.3k↓50%MITPHPPHP &gt;=5.3.3

Since Jun 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Salamek/doctrine-daterange)[ Packagist](https://packagist.org/packages/salamek/doctrine-daterange)[ Docs](https://github.com/Salamek/doctrine-daterange)[ RSS](/packages/salamek-doctrine-daterange/feed)WikiDiscussions master Synced 1mo ago

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

Doctrine DateRange Type
=======================

[](#doctrine-daterange-type)

[![Build Status](https://camo.githubusercontent.com/be061f2f75b633c677bc3278397f543856361ca21334b4d1f8cd8e77a3f21426/68747470733a2f2f7472617669732d63692e6f72672f53616c616d656b2f646f637472696e652d6461746572616e67652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/salamek/doctrine-daterange)

Supports PostgreSQL DateRange in Doctrine DBAL.

Summary
-------

[](#summary)

The `DateRange` library

- adds a `daterange` type to DBAL

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

[](#installation)

Add it to your list of Composer dependencies:

```
composer require salamek/doctrine-daterange
```

Register it with Doctrine DBAL:

```
