Doctrine service factories for the laminas/laminas-servicemanager and any other dependency injection container who's been able to handle it's config, like chubbyphp/chubbyphp-container via chubbyphp/chubbyphp-laminas-config and many (Aura.Di, Pimple, Auryn, Symfony, PHP-DI) more.
The original concept of this service factories is by @DASPRiD used in dasprid/container-interop-doctrine which was handed over to roave/psr-container-doctrine.
Small adjustments like using class names instead doctrine.something...
strings as service names
and the possiblity to install only the needed vendors make the difference to the original project.
- 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
Through Composer as chubbyphp/chubbyphp-laminas-config-doctrine.
composer require chubbyphp/chubbyphp-laminas-config-doctrine "^2.1"
2024 Dominik Zogg