postgresql-for-doctrine

PostgreSQL enhancements for Doctrine2. Provides support for advanced data types (json, josnb, arrays), text search, array operators and jsonb specific functions.

Github stars Tracking Chart

Scrutinizer Code Quality
Build Status
Coverage Status
Latest Stable Version
Total Downloads

What's this?

This package provides Doctrine support for some specific PostgreSQL 9.4+ features:

  • Support of JSONB and some array data-types (at present only integers, TEXT and JSONB)
  • Implementation of the most commonly used functions and operators when working with array and JSON data-types
  • Functions for text search

It can be integrated in a simple manner with Symfony, Laravel and other frameworks that make use of Doctrine.

You can easily extend package's behaviour with your own array-like data-types or other desired functions. Read more about this in the contributing guide.


How to install?

Easiest and recommended way is with Composer

composer require martin-georgiev/postgresql-for-doctrine

How to integrate with your framework?

Read the guide with examples for Symfony.

Read the guide with examples for Laravel.

Read the guide with examples for Doctrine.


Check for common use-cases, examples and known errors.


License

This package is licensed under the MIT License.

Main metrics

Overview
Name With Ownermartin-georgiev/postgresql-for-doctrine
Primary LanguagePHP
Program languagePHP (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2016-09-30 10:14:40
Pushed At2025-04-22 18:26:03
Last Commit At
Release Count55
Last Release Namev3.0.2 (Posted on )
First Release Name0.1 (Posted on 2015-07-12 17:24:58)
用户参与
Stargazers Count410
Watchers Count10
Fork Count50
Commits Count357
Has Issues Enabled
Issues Count61
Issue Open Count14
Pull Requests Count272
Pull Requests Open Count4
Pull Requests Close Count22
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private