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.3
- chubbyphp/chubbyphp-laminas-config-factory: ^1.4
- doctrine/common: ^3.5
- doctrine/event-manager: ^2.0.1
- psr/container: ^1.1.2|^2.0.2
- symfony/cache: ^6.4.30|^7.4.1|^8.0.1
- symfony/console: ^6.4.30|^7.4.1|^8.0.1
- symfony/var-exporter: ^6.4.26|^7.4.0
- doctrine/dbal: ^4.4.1
- doctrine/mongodb-odm: ^2.15.1
- doctrine/orm: ^3.5.8
- mongodb/mongodb: 1.21.3|^2.1.2
Through Composer as chubbyphp/chubbyphp-laminas-config-doctrine.
composer require chubbyphp/chubbyphp-laminas-config-doctrine "^3.1"2025 Dominik Zogg