chubbyphp / chubbyphp-laminas-config-doctrine
2.2.0
2024-02-13 21:17 UTC
Requires
- php: ^8.1
- chubbyphp/chubbyphp-laminas-config-factory: ^1.3
- doctrine/common: ^3.4.3
- doctrine/event-manager: ^1.2|^2.0
- psr/container: ^1.1.2|^2.0.2
- symfony/cache: ^5.4.35|^6.4.3|^7.0.3
- symfony/console: ^5.4.35|^6.4.3|^7.0.3
Requires (Dev)
- chubbyphp/chubbyphp-dev-helper: dev-master
- chubbyphp/chubbyphp-laminas-config: ^1.4
- chubbyphp/chubbyphp-mock: ^1.7
- doctrine/dbal: ^3.8.1
- doctrine/mongodb-odm: ^2.6.2
- doctrine/orm: ^2.17.5
- infection/infection: ^0.27.9
- mongodb/mongodb: ^1.17
- php-coveralls/php-coveralls: ^2.7
- phpstan/extension-installer: ^1.3.1
- phpstan/phpstan: ^1.10.58
- phpunit/phpunit: ^10.5.10
- ramsey/uuid: ^4.7.5
Conflicts
- doctrine/dbal: <3.8.1 || >=4.0
- doctrine/mongodb-odm: <2.6.2 || >=3.0
- doctrine/orm: <2.17.5 || >=3.0
- mongodb/mongodb: <1.17|| >=2.0
README
描述
为 laminas/laminas-servicemanager 和任何能够处理其配置的依赖注入容器(例如通过 chubbyphp/chubbyphp-laminas-config)提供的 Doctrine 服务工厂,如 chubbyphp/chubbyphp-container 以及许多其他(Aura.Di, Pimple, Auryn, Symfony, PHP-DI)。
此服务工厂的原始概念由 @DASPRiD 提出,并在 dasprid/container-interop-doctrine 中使用,之后移交给了 roave/psr-container-doctrine。
一些小调整,如使用类名而不是 doctrine.something...
字符串作为服务名称,以及只安装所需供应商的可能性,与原始项目有所不同。
要求
- php: 8.1
- chubbyphp/chubbyphp-laminas-config-factory: ^1.3
- doctrine/common: ^3.4.3
- doctrine/event-manager: ^1.2|^2.0
- psr/container: ^1.1.2|^2.0.2
- symfony/cache: ^5.4.35|^6.4.3|^7.0.3
- symfony/console: ^5.4.35|^6.4.3|^7.0.3
建议
- doctrine/dbal: ^3.8.1
- doctrine/mongodb-odm: ^2.6.2
- doctrine/orm: ^2.17.5
- mongodb/mongodb: ^1.17
安装
通过 Composer 安装 chubbyphp/chubbyphp-laminas-config-doctrine。
composer require chubbyphp/chubbyphp-laminas-config-doctrine "^2.1"
使用
MongodbODM
ORM
版权
2024 Dominik Zogg