PHPackages                             chubbyphp/chubbyphp-doctrine-db-service-provider - 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-doctrine-db-service-provider

Abandoned → [chubbyphp/chubbyphp-laminas-config-doctrine](/?search=chubbyphp%2Fchubbyphp-laminas-config-doctrine)ArchivedLibrary[Database &amp; ORM](/categories/database)

chubbyphp/chubbyphp-doctrine-db-service-provider
================================================

Chubbyphp database service provider

2.1.4(4y ago)226.9k↓100%2MITPHPPHP ^7.4|^8.0

Since Aug 2Pushed 4y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (17)Versions (27)Used By (0)

chubbyphp-doctrine-db-service-provider
======================================

[](#chubbyphp-doctrine-db-service-provider)

[![CI](https://github.com/chubbyphp/chubbyphp-doctrine-db-service-provider/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyphp/chubbyphp-doctrine-db-service-provider/actions?query=workflow%3ACI)[![Coverage Status](https://camo.githubusercontent.com/8125b8ad1b8b3846ac5433840dae9e80a7c01cb2720d686c84933ff17fb17216/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6368756262797068702f6368756262797068702d646f637472696e652d64622d736572766963652d70726f76696465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/chubbyphp/chubbyphp-doctrine-db-service-provider?branch=master)[![Infection MSI](https://camo.githubusercontent.com/8cc15ab8b14fc842d51b7df987936fa4f18f3a93c2e68315f3488671a5af3f9d/68747470733a2f2f62616467652e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f6368756262797068702f6368756262797068702d646f637472696e652d64622d736572766963652d70726f76696465722f6d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-doctrine-db-service-provider/master)[![Latest Stable Version](https://camo.githubusercontent.com/c739a4a319bc6316a78c00599e8bc0c4a05c6cabf22628ae7c9fbe5666939786/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d646f637472696e652d64622d736572766963652d70726f76696465722f762f737461626c652e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-doctrine-db-service-provider)[![Total Downloads](https://camo.githubusercontent.com/865e548602222a895aa72b8e134c9779eae572495cabc544697f4d7a53c15a06/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d646f637472696e652d64622d736572766963652d70726f76696465722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-doctrine-db-service-provider)[![Monthly Downloads](https://camo.githubusercontent.com/b06e24f4f94ca32d30bf71ef49aed6ab44f55d0598ba4d62be223d9b33965bea/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d646f637472696e652d64622d736572766963652d70726f76696465722f642f6d6f6e74686c79)](https://packagist.org/packages/chubbyphp/chubbyphp-doctrine-db-service-provider)

[![bugs](https://camo.githubusercontent.com/f4a1fb9377fcff38272b0e25a1602a13e363a90eb4c68fbce432fce9d9360ba4/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d62756773)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)[![code_smells](https://camo.githubusercontent.com/484f7eaa3803f275fbe55f56dd1031e87dfb1c99af0e226ee94b26709f158de5/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)[![coverage](https://camo.githubusercontent.com/0e5ebb0e9d75d8641b35b88d33ea68469bf9af5ef3bec230459ba4469f55bd47/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)[![duplicated_lines_density](https://camo.githubusercontent.com/57520331cede8978716e3a08c085bc3457b05664dc9cc5967190ef0bd8df972a/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d6475706c6963617465645f6c696e65735f64656e73697479)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)[![ncloc](https://camo.githubusercontent.com/c67a6a39a80a2c0cf86ebd2bfcb78674b2b65a92dbdba0be38eb5ac1bd61d1d7/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d6e636c6f63)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)[![sqale_rating](https://camo.githubusercontent.com/c3ca28b5fdd6bd83dc132a3f8aa82f21431b8439bc97c035002ca59e3821e8ca/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)[![alert_status](https://camo.githubusercontent.com/6766c65b2a791fc030c31ead4f356200100fe16f1002037e94de9ddb592013f5/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)[![reliability_rating](https://camo.githubusercontent.com/be9c2d214df2b17ad5eb34d5ef189b288db0bec44fca11f1d4bc6fe9acd96626/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)[![security_rating](https://camo.githubusercontent.com/c42101f8e8b9043876922d413deee1568f9452a948c152ba958cf770342501f4/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)[![sqale_index](https://camo.githubusercontent.com/ec392c1aab86b0b1e84ee68a5de4e9be0a52a6c9482c10b4e83837869858e430/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d7371616c655f696e646578)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)[![vulnerabilities](https://camo.githubusercontent.com/0db52c7bdee3b297027f950d2fc7b229e90fadefd547b9c8f6bc62ec4efaf905/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6368756262797068705f6368756262797068702d646f637472696e652d64622d736572766963652d70726f7669646572266d65747269633d76756c6e65726162696c6974696573)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-doctrine-db-service-provider)

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

[](#description)

Doctrine database service providers for doctrine dbal and orm.

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

[](#requirements)

- php: ^7.4|^8.0
- doctrine/cache: ^1.11.3
- doctrine/common: ^3.1.2
- doctrine/dbal: ^2.11.3
- doctrine/persistence: ^2.2.1

Suggest
-------

[](#suggest)

- doctrine/orm: ^2.9.1

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

[](#installation)

Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-doctrine-db-service-provider](https://packagist.org/packages/chubbyphp/chubbyphp-doctrine-db-service-provider).

```
composer require chubbyphp/chubbyphp-doctrine-db-service-provider "^2.1"
```

Usage
-----

[](#usage)

### ServiceFactory (chubbyphp/chubbyphp-container)

[](#servicefactory-chubbyphpchubbyphp-container)

- [DoctrineDbalServiceFactory](doc/ServiceFactory/DoctrineDbalServiceFactory.md)
- [DoctrineOrmServiceFactory](doc/ServiceFactory/DoctrineOrmServiceFactory.md)

### ServiceProvider (pimple/pimple)

[](#serviceprovider-pimplepimple)

- [DoctrineDbalServiceProvider](doc/ServiceProvider/DoctrineDbalServiceProvider.md)
- [DoctrineOrmServiceProvider](doc/ServiceProvider/DoctrineOrmServiceProvider.md)

Copyright
---------

[](#copyright)

Dominik Zogg 2021

*There is some code with @see, copied with small modifications by from thirdparties.*

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 98% 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 ~46 days

Recently: every ~66 days

Total

26

Last Release

1681d ago

Major Versions

1.6.1 → 2.0.02020-07-25

PHP version history (4 changes)1.0-beta1PHP ~7.0

1.4.0PHP ^7.2

2.0.1PHP ^7.2|^8.0

2.1.0PHP ^7.4|^8.0

### 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 (99 commits)")[![healerz](https://avatars.githubusercontent.com/u/1555970?v=4)](https://github.com/healerz "healerz (1 commits)")[![mavimo](https://avatars.githubusercontent.com/u/43941?v=4)](https://github.com/mavimo "mavimo (1 commits)")

---

Tags

containerdbaldependency-injectiondoctrinehackoctoberfestormpimpleserviceproviderdatabaseormdoctrinedbalproviderpimplechubbyphp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/chubbyphp-chubbyphp-doctrine-db-service-provider/health.svg)

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

###  Alternatives

[doctrine/doctrine-bundle

Symfony DoctrineBundle

4.8k241.3M3.3k](/packages/doctrine-doctrine-bundle)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M35](/packages/scienta-doctrine-json-functions)[vlucas/spot2

Simple DataMapper built on top of Doctrine DBAL

605392.8k7](/packages/vlucas-spot2)[jsor/doctrine-postgis

Spatial and Geographic Data with PostGIS and Doctrine.

2191.6M1](/packages/jsor-doctrine-postgis)[williarin/wordpress-interop

Interoperability library to work with WordPress database in third party apps

6610.9k2](/packages/williarin-wordpress-interop)

PHPackages © 2026

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