1tomany / postgres-bundle
Symfony bundle that enhances Postgres for Doctrine
Package info
github.com/1tomany/postgres-bundle
Type:symfony-bundle
pkg:composer/1tomany/postgres-bundle
v0.0.6
2026-03-05 21:30 UTC
Requires
- php: >=8.4
- doctrine/dbal: ^4.4
- doctrine/orm: ^3.6
- symfony/config: ^7.2|^8.0
- symfony/dependency-injection: ^7.2|^8.0
- symfony/http-kernel: ^7.2|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.93
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^12.5
README
This package enhances Postgres for Doctrine.
Installation
Install the bundle using Composer:
composer require 1tomany/postgres-bundle
Configuration
This bundle is automatically configured to work with the default Doctrine DBAL connection. To change the default configuration, create a file named onetomany_postgres.yaml in config/packages/ with the following contents and adjust accordingly:
onetomany_postgres: advisory_lock_manager: connection: "database_connection" middleware: time_zone: "UTC"
Credits
License
The MIT License