PHPackages                             mouf/database.doctrine-dbal-wrapper - 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. mouf/database.doctrine-dbal-wrapper

ActiveMouf-library[Database &amp; ORM](/categories/database)

mouf/database.doctrine-dbal-wrapper
===================================

This package contains wrapper classes that make Doctrine DBAL easy to use in Mouf

v1.2.3(8y ago)0111.2k35MITPHPPHP &gt;=5.3.0

Since Aug 28Pushed 8y ago13 watchersCompare

[ Source](https://github.com/thecodingmachine/database.doctrine-dbal-wrapper)[ Packagist](https://packagist.org/packages/mouf/database.doctrine-dbal-wrapper)[ Docs](https://github.com/thecodingmachine/database.doctrine-dbal-wrapper)[ RSS](/packages/mouf-databasedoctrine-dbal-wrapper/feed)WikiDiscussions 1.2 Synced 3d ago

READMEChangelog (4)Dependencies (4)Versions (9)Used By (5)

Doctrine DBAL wrapper classes for Mouf
======================================

[](#doctrine-dbal-wrapper-classes-for-mouf)

This package provides a wrapper around the Doctrine's DBALConnection class for the [Mouf](http://mouf-php.com) PHP framework.

Important: this component has not been tested yet for other connection drivers than PDO\_MYSQL and MSQLI.

When installed, it provides a user-friendly user interface that allows to create / edit your connection to the database.

[![DBConnection](doc/images/db_connection_install.png "Install DBAL/Connection")](doc/images/db_connection_install.png)

Please be aware this is a very simple wrapper. In fact this component is just a simple install task, that will automatically configure a Doctrine/DBAL Connection :

- the **params** property is stored as a PHP field as it's structure is not really defined. It will return an array of connection parameters : database's host, name, and identifiers.

Please note, that those parameters will be stored in Mouf configuration.

- **driver** &amp; **eventManager** are simple classes that has no settable properties. Note that as required by Doctrine, if the ORM layer is included in your project, the entityManager instance will be associated to the same eventManager instance that the connection.
- the **configuration** property is not set by this package.

Other parameters can be defined after the instance has been initialized, please refer to doctrine's documentation for more information : .

Usage
-----

[](#usage)

You can now embed the `dbalConnection` instance anywhere in your code:

```
$stmt = Mouf::getDbalConnection()->query($sql);
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~151 days

Recently: every ~13 days

Total

8

Last Release

3272d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

---

Top Contributors

[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (10 commits)")[![nguyenk](https://avatars.githubusercontent.com/u/2227554?v=4)](https://github.com/nguyenk "nguyenk (7 commits)")[![CamilleKoppel](https://avatars.githubusercontent.com/u/49161585?v=4)](https://github.com/CamilleKoppel "CamilleKoppel (1 commits)")[![josealbeatcm](https://avatars.githubusercontent.com/u/183588510?v=4)](https://github.com/josealbeatcm "josealbeatcm (1 commits)")[![xhuberty](https://avatars.githubusercontent.com/u/8350192?v=4)](https://github.com/xhuberty "xhuberty (1 commits)")

---

Tags

databasemoufdbconnection

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mouf-databasedoctrine-dbal-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/mouf-databasedoctrine-dbal-wrapper/health.svg)](https://phpackages.com/packages/mouf-databasedoctrine-dbal-wrapper)
```

###  Alternatives

[doctrine/migrations

PHP Doctrine Migrations project offer additional functionality on top of the database abstraction layer (DBAL) for versioning your database schema and easily deploying changes to it. It is a very easy to use and a powerful tool.

4.8k217.3M548](/packages/doctrine-migrations)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M576](/packages/shopware-core)[cycle/database

DBAL, schema introspection, migration and pagination

71777.8k54](/packages/cycle-database)[bartlett/php-compatinfo-db

Reference Database of all functions, constants, classes, interfaces on PHP standard distribution and about 110 extensions

1185.6k2](/packages/bartlett-php-compatinfo-db)[perplorm/perpl

Perpl is an improved and still maintained fork of Propel2, an open-source Object-Relational Mapping (ORM) for PHP.

2411.8k](/packages/perplorm-perpl)

PHPackages © 2026

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