PHPackages                             fle/postgresql-type-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. fle/postgresql-type-bundle

AbandonedArchivedSymfony-bundle[Database &amp; ORM](/categories/database)

fle/postgresql-type-bundle
==========================

This bundle extend support of postgresql for doctrine

1.11(9y ago)46.0k1MITPHPPHP &gt;=5.4

Since Mar 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/flecomte/PostgresqlTypeBundle)[ Packagist](https://packagist.org/packages/fle/postgresql-type-bundle)[ RSS](/packages/fle-postgresql-type-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (5)Versions (16)Used By (0)

PostgresqlTypeBundle
====================

[](#postgresqltypebundle)

[![Build Status](https://camo.githubusercontent.com/8a815b9f990d605b2483357542a73bbd9ed85b2df12fee9ec22d264c8192bc99/68747470733a2f2f7472617669732d63692e6f72672f666c65636f6d74652f506f737467726573716c5479706542756e646c652e737667)](https://travis-ci.org/flecomte/PostgresqlTypeBundle)

[![Dependency Status](https://camo.githubusercontent.com/2349d6e2f086fe403d94ca87acf9995b88153dc5495b6708beda7597f75f12e5/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533643738393162333634386634363838373030303261642f62616467652e737667)](https://www.versioneye.com/user/projects/53d7891b3648f468870002ad)

[![Coverage Status](https://camo.githubusercontent.com/d1b6abb1a0004e718fbc0382b7fa13939add7bf469e71f7bb31e86a50785eb93/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f666c65636f6d74652f506f737467726573716c5479706542756e646c652f62616467652e706e67)](https://coveralls.io/r/flecomte/PostgresqlTypeBundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/9a660b55bf96e46809b23c94c358d1d9c2d31edf59151605030755809ed4e093/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37346264376431302d386634352d346364352d626364622d3565353337643039376438392f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/74bd7d10-8f45-4cd5-bcdb-5e537d097d89)

Overview
--------

[](#overview)

### Supported Types

[](#supported-types)

Add support to postgresql type.

- Box
- Point
- Cidr
- DateInterval
- DateTime
- DateTime\[\]
- DateTime with TimeZone
- Time
- Time\[\]
- Time with TimeZone
- JSON
- JSONB
- int\[\]: `array(-2147483648, 1, 2, 3, 4, 5, +2147483647)`
- bigint\[\]: `array(-9223372036854775808, 1, 2, 3, 9223372036854775807)`
- text\[\]: `array("Hello", "World")`
- text\[\]\[\]: `array("first" => "Hello", "last" => "World")`

### Supported Functions

[](#supported-functions)

Add support of functions.

- CONTAINTS `SELECT CONTAINTS(ARRAY[1,2,3], 2);`
- date\_trunc `date_trunc('hour', timestamp '2001-02-16 20:38:40')`

### ManyToAny

[](#manytoany)

Add ManyToAny Annotation

```
