PHPackages                             chubbyphp/chubbyphp-laminas-config-doctrine - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. chubbyphp/chubbyphp-laminas-config-doctrine

ActiveLibrary[Database &amp; ORM](/categories/database)

chubbyphp/chubbyphp-laminas-config-doctrine
===========================================

3.1.1(3mo ago)812.5k↓43.5%1MITPHPPHP ^8.3CI passing

Since Sep 19Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/chubbyphp/chubbyphp-laminas-config-doctrine)[ Packagist](https://packagist.org/packages/chubbyphp/chubbyphp-laminas-config-doctrine)[ RSS](/packages/chubbyphp-chubbyphp-laminas-config-doctrine/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (21)Versions (26)Used By (0)

chubbyphp-laminas-config-doctrine
=================================

[](#chubbyphp-laminas-config-doctrine)

[![CI](https://github.com/chubbyphp/chubbyphp-laminas-config-doctrine/actions/workflows/ci.yml/badge.svg)](https://github.com/chubbyphp/chubbyphp-laminas-config-doctrine/actions/workflows/ci.yml)[![Coverage Status](https://camo.githubusercontent.com/04fd5d164b53285eb090c4065745501e204a60a3ae78deb6ca4c0c03cdbe70e3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6368756262797068702f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/chubbyphp/chubbyphp-laminas-config-doctrine?branch=master)[![Mutation testing badge](https://camo.githubusercontent.com/e2a9b3e338cb724d77e5cdaf79583efbdd087e0b308c964c596f32723c4e3e25/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532466368756262797068702532466368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e652532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-laminas-config-doctrine/master)[![Latest Stable Version](https://camo.githubusercontent.com/bfc62a040e9377e3c783a215b5fd747f9ee7383fd681ea59fee8dfd59e8439b7/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e652f76)](https://packagist.org/packages/chubbyphp/chubbyphp-laminas-config-doctrine)[![Total Downloads](https://camo.githubusercontent.com/379352e7e4ba0ff74571664afa9895c026d996423a0d058beeda558f53cc9ef7/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e652f646f776e6c6f616473)](https://packagist.org/packages/chubbyphp/chubbyphp-laminas-config-doctrine)[![Monthly Downloads](https://camo.githubusercontent.com/758e5c4af1aee3ccc9abfe4053dce88dcb93af11906598419debe1b78473324c/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e652f642f6d6f6e74686c79)](https://packagist.org/packages/chubbyphp/chubbyphp-laminas-config-doctrine)

[![bugs](https://camo.githubusercontent.com/8def70949ba8ce810ff38e0b40457bd390051436246526e523b0ce9e28b4544b/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d62756773)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)[![code_smells](https://camo.githubusercontent.com/eef1682943bd6f1900ada7b783cf3a22ec0d4d8d841a6b1a1354501776d1c2c8/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)[![coverage](https://camo.githubusercontent.com/aafe0599c2a051cb3de13f763247eee5fbdc18c2641766edfc2e30fe585f4c63/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)[![duplicated_lines_density](https://camo.githubusercontent.com/48df283bb3b1c77cce71c71bc366cea43fee1b15f5f5c574b4aadf1e59e86ba9/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d6475706c6963617465645f6c696e65735f64656e73697479)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)[![ncloc](https://camo.githubusercontent.com/c9b27755455f7626f4be031ddad90a502ae23fd1ddef79ad746dbc2dee4594bd/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d6e636c6f63)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)[![sqale_rating](https://camo.githubusercontent.com/b55f113daa686f5af343310a7705a24e4eae5ddbc344351f31296c59d77ecafb/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)[![alert_status](https://camo.githubusercontent.com/2a1b3bf640dd78246cc227d4396fbcc8ca6c973d34e40c458886817cca240d45/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)[![reliability_rating](https://camo.githubusercontent.com/0bcf3b682476cdd9458fbd3c65ab0167672314a0c21cff57e545550bd204b318/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)[![security_rating](https://camo.githubusercontent.com/2ff68022fa8cc3f2cd96f5341f17ebd28f72068ee178f4ba458d50f192ebbf7a/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)[![sqale_index](https://camo.githubusercontent.com/75632e94f649f6e35d5b27e5c7223d8ac2bbf44de637b5ca8a00b4b54253aec2/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d7371616c655f696e646578)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)[![vulnerabilities](https://camo.githubusercontent.com/9a18d3d033ed12357710943ed85b16d4f1f2d58d8932a7aa3b7db2cfae672df9/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d6c616d696e61732d636f6e6669672d646f637472696e65266d65747269633d76756c6e65726162696c6974696573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-laminas-config-doctrine)

Description
-----------

[](#description)

Doctrine service factories for the [laminas/laminas-servicemanager](https://packagist.org/packages/laminas/laminas-servicemanager) and any other dependency injection container who's been able to handle it's config, like [chubbyphp/chubbyphp-container](https://packagist.org/packages/chubbyphp/chubbyphp-container) via [chubbyphp/chubbyphp-laminas-config](https://packagist.org/packages/chubbyphp/chubbyphp-laminas-config)and many (Aura.Di, Pimple, Auryn, Symfony, PHP-DI) more.

The original concept of this service factories is by [@DASPRiD](https://github.com/DASPRiD) used in [dasprid/container-interop-doctrine](https://packagist.org/packages/dasprid/container-interop-doctrine)which was handed over to [roave/psr-container-doctrine](https://packagist.org/packages/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.

Requirements
------------

[](#requirements)

- php: 8.3
- [chubbyphp/chubbyphp-laminas-config-factory](https://packagist.org/packages/chubbyphp/chubbyphp-laminas-config-factory): ^1.5.1
- [doctrine/common](https://packagist.org/packages/doctrine/common): ^3.5
- [doctrine/event-manager](https://packagist.org/packages/doctrine/event-manager): ^2.0.1
- [psr/container](https://packagist.org/packages/psr/container): ^1.1.2|^2.0.2
- [symfony/cache](https://packagist.org/packages/symfony/cache): ^6.4.31|^7.4.3|^8.0.3
- [symfony/console](https://packagist.org/packages/symfony/console): ^6.4.31|^7.4.3|^8.0.3
- [symfony/var-exporter](https://packagist.org/packages/symfony/var-exporter): ^6.4.26|^7.4.0

Suggested
---------

[](#suggested)

- [doctrine/dbal](https://packagist.org/packages/doctrine/dbal): ^4.4.1
- [doctrine/mongodb-odm](https://packagist.org/packages/doctrine/mongodb-odm): ^2.15.1
- [doctrine/orm](https://packagist.org/packages/doctrine/orm): ^3.5.8
- [mongodb/mongodb](https://packagist.org/packages/mongodb/mongodb): 1.21.3|^2.1.2

Installation
------------

[](#installation)

Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-laminas-config-doctrine](https://packagist.org/packages/chubbyphp/chubbyphp-laminas-config-doctrine).

```
composer require chubbyphp/chubbyphp-laminas-config-doctrine "^3.1"
```

Usage
-----

[](#usage)

### MongodbODM

[](#mongodbodm)

- [Single connection](doc/DocumentManager.md)
- [Multiple connection](doc/DocumentManagers.md)

### ORM

[](#orm)

- [Single connection](doc/EntityManager.md)
- [Multiple connection](doc/EntityManagers.md)

Copyright
---------

[](#copyright)

2026 Dominik Zogg

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance81

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 98.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~81 days

Total

25

Last Release

115d ago

Major Versions

1.3.0 → 2.0.02022-09-12

2.3.0 → 3.0.02025-02-07

PHP version history (7 changes)1.0.0PHP ^7.2

1.1.0PHP ^7.2|^8.0

1.2.0PHP ^7.4|^8.0

1.3.0PHP ^8.0

2.1.0PHP ^8.1

2.3.0PHP ^8.2

3.1.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/55048de83ca5e5d8c67164a19c78edcaad413b0c1a4ae10d92edf8d77bedd90f?d=identicon)[dominikzogg](/maintainers/dominikzogg)

---

Top Contributors

[![dominikzogg](https://avatars.githubusercontent.com/u/1011217?v=4)](https://github.com/dominikzogg "dominikzogg (92 commits)")[![mavimo](https://avatars.githubusercontent.com/u/43941?v=4)](https://github.com/mavimo "mavimo (1 commits)")

---

Tags

cachechubbyphpdbaldoctrinefactorylaminas-servicemanagermezziomongodbodmormpsr-11PSR-11factoryormdoctrinedbalcacheodmmongodbmezziochubbyphplaminas servicemanager

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/chubbyphp-chubbyphp-laminas-config-doctrine/health.svg)

```
[![Health](https://phpackages.com/badges/chubbyphp-chubbyphp-laminas-config-doctrine/health.svg)](https://phpackages.com/packages/chubbyphp-chubbyphp-laminas-config-doctrine)
```

###  Alternatives

[gedmo/doctrine-extensions

Doctrine behavioral extensions

4.1k118.8M366](/packages/gedmo-doctrine-extensions)[doctrine/mongodb-odm

PHP Doctrine MongoDB Object Document Mapper (ODM) provides transparent persistence for PHP objects to MongoDB.

1.1k23.3M302](/packages/doctrine-mongodb-odm)[doctrine/doctrine-orm-module

Laminas Module that provides Doctrine ORM functionality

4407.3M293](/packages/doctrine-doctrine-orm-module)[mmucklo/queue-bundle

Symfony2/3/4/5 Queue Bundle (for background jobs) supporting Mongo (Doctrine ODM), Mysql (and any Doctrine ORM), RabbitMQ, Beanstalkd, Redis, and ... {write your own}

120839.8k](/packages/mmucklo-queue-bundle)[doctrine/doctrine-mongo-odm-module

Laminas Module which provides Doctrine MongoDB ODM functionality

86676.6k35](/packages/doctrine-doctrine-mongo-odm-module)[h4cc/alice-fixtures-bundle

Symfony2 Bundle for loading fixture data with the Alice library.

76314.2k7](/packages/h4cc-alice-fixtures-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
