Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martin-georgiev/postgresql-for-doctrine
PostgreSQL enhancements for Doctrine. Provides support for advanced data types (json, jssnb, arrays), text search, array operators and jsonb specific functions.
https://github.com/martin-georgiev/postgresql-for-doctrine
arrays doctrine doctrine-dbal doctrine-orm json-data jsonb postgresql
Last synced: 2 months ago
JSON representation
PostgreSQL enhancements for Doctrine. Provides support for advanced data types (json, jssnb, arrays), text search, array operators and jsonb specific functions.
- Host: GitHub
- URL: https://github.com/martin-georgiev/postgresql-for-doctrine
- Owner: martin-georgiev
- License: mit
- Created: 2016-09-30T10:14:40.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T21:11:18.000Z (3 months ago)
- Last Synced: 2024-04-15T12:34:54.328Z (3 months ago)
- Topics: arrays, doctrine, doctrine-dbal, doctrine-orm, json-data, jsonb, postgresql
- Language: PHP
- Homepage: https://packagist.org/packages/martin-georgiev/postgresql-for-doctrine
- Size: 3.51 MB
- Stars: 319
- Watchers: 10
- Forks: 41
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS.yml
Lists
- awesome-doctrine - PostgreSQL enhancements for Doctrine2 - Provides support for advanced data types (json, josnb, arrays), text search, array operators and jsonb specific functions. (Related Projects)
README
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/martin-georgiev/postgresql-for-doctrine/badges/quality-score.png)](https://scrutinizer-ci.com/g/martin-georgiev/postgresql-for-doctrine/?branch=main)
[![Coverage Status](https://coveralls.io/repos/github/martin-georgiev/postgresql-for-doctrine/badge.svg?branch=main)](https://coveralls.io/github/martin-georgiev/postgresql-for-doctrine?branch=main)
[![Latest Stable Version](https://poser.pugx.org/martin-georgiev/postgresql-for-doctrine/version)](https://packagist.org/packages/martin-georgiev/postgresql-for-doctrine)
[![Total Downloads](https://poser.pugx.org/martin-georgiev/postgresql-for-doctrine/downloads)](https://packagist.org/packages/martin-georgiev/postgresql-for-doctrine)
----
## 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 integers, BOOL, TEXT and JSONB)
* Implementation of the most commonly used functions and operators when working with array and JSON data-types
* Functions for text search
* Aggregate functions
* Date functionsIt 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](docs/CONTRIBUTING.md).
----
## What is available?
Full set of the available types can be found [here](docs/AVAILABLE-TYPES.md).Full set of the available functions and extra operators can be found [here](docs/AVAILABLE-FUNCTIONS-AND-OPERATORS.md).
----
## How to install?
Easiest and recommended way is with [Composer](https://getcomposer.org/download/)composer require martin-georgiev/postgresql-for-doctrine
----
## How to integrate with your framework?
Read the guide with examples for [Symfony](docs/INTEGRATING-WITH-SYMFONY.md).Read the guide with examples for [Laravel](docs/INTEGRATING-WITH-LARAVEL.md).
Read the guide with examples for [Doctrine](docs/INTEGRATING-WITH-DOCTRINE.md).
----
Check for [common use-cases, examples and known errors](docs/USE-CASES-AND-EXAMPLES.md).
----
## License
This package is licensed under the MIT License.