pfilsx/postgresql-doctrine 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pfilsx/postgresql-doctrine

最新稳定版本:v1.10.0

Composer 安装命令:

composer require pfilsx/postgresql-doctrine

包简介

Extended Doctrine DBAL and Doctrine migrations classes for postgresql specific features support

README 文档

README

Packagist Version Packagist Dependency Version Packagist Downloads

Description

Provides extended Doctrine and Doctrine migrations PostgreSQL support with specific features such as enums, arrays and aggregate and JSON(B) functions.

Features

Requirement

  • PHP ^8.1
  • doctrine/dbal ^3.5.1
  • doctrine/migrations ^3.5.2
  • symfony/serializer >=5.4.* (optional for json models)
  • symfony/property-info >=5.4.* (optional for json models)

Installation

Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:

composer require pfilsx/postgresql-doctrine

Usage

Please refer Doctrine DBAL and Doctrine Migrations for instructions on how to override the default doctrine classes in your project.

Required steps:

  1. Register PostgreSQLDriverMiddleware.php as driver middleware
  2. Register OrmSchemaProvider.php as Doctrine\Migrations\Provider\SchemaProvider in Doctrine\Migrations\DependencyFactory
  3. Register types and functions on your needs

For Symfony integration see PostgreSQLDoctrineBundle

Documentation

License

This bundle is released under the MIT license.

统计信息

  • 总下载量: 3.36k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 4
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-19