PHPackages                             erichard/postgresql-doctrine-type - 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. erichard/postgresql-doctrine-type

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

erichard/postgresql-doctrine-type
=================================

Doctrine implementation of some useful PostgreSQL data types

v1.0.2(8y ago)221.9kMIT

Since Feb 8Compare

[ Source](https://github.com/erichard/doctrine-pgsql-extension)[ Packagist](https://packagist.org/packages/erichard/postgresql-doctrine-type)[ RSS](/packages/erichard-postgresql-doctrine-type/feed)WikiDiscussions Synced today

READMEChangelogDependencies (2)Versions (4)Used By (0)

PostgreSQL Doctrine Type
========================

[](#postgresql-doctrine-type)

This library add support for useful postgresql types such as Point, DateRange or Arrays.

Usage
-----

[](#usage)

In Symfony, you only need to update your DBAL config.

```
doctrine:
    dbal:
        types:
            jsonb: PostgreSQLDoctrineType\DBAL\Type\JsonType
            daterange: PostgreSQLDoctrineType\DBAL\Type\DateRangeType
            tsrange: PostgreSQLDoctrineType\DBAL\Type\TsRangeType
            varchar_array: PostgreSQLDoctrineType\DBAL\Type\VarcharArrayType
        mapping_types:
            json_array: jsonb  # redefine doctrine json_array to use jsonb
            daterange: daterange
            tsrange: tsrange

```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity65

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~17 days

Total

3

Last Release

3033d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b299d4f753049835f5216302c975a644fc96240fdc4df994187f21e1bf3a8a88?d=identicon)[erichard](/maintainers/erichard)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/erichard-postgresql-doctrine-type/health.svg)

```
[![Health](https://phpackages.com/badges/erichard-postgresql-doctrine-type/health.svg)](https://phpackages.com/packages/erichard-postgresql-doctrine-type)
```

###  Alternatives

[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4585.8M4](/packages/martin-georgiev-postgresql-for-doctrine)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14385.8k4](/packages/flow-php-doctrine-dbal-bulk)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
