PHPackages                             devture/dbal - 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. devture/dbal

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

devture/dbal
============

Tiny database abstraction layer for MongoDB (doctrine/mongodb) and relational databases (doctrine/dbal)

1.2(9y ago)05.1k↓50%12BSDPHPPHP &gt;=5.3.0

Since Dec 26Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (6)Used By (2)

DBAL
====

[](#dbal)

Tiny database abstraction layer for [MongoDB](http://www.mongodb.org/) (on top of [doctrine/mongodb](https://github.com/doctrine/mongodb)) and relational databases (on top of [doctrine/dbal](https://github.com/doctrine/dbal)).

It provides a non-POPO base model class and [Identity Mapping](https://en.wikipedia.org/wiki/Identity_map_pattern) repository classes for both MongoDB and relational databases.

The goal of this project is to provide a semi-low-level database abstraction layer. [Doctrine MongoDB ODM](http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/) and the [Doctrine ORM](http://www.doctrine-project.org/projects/orm.html) have you covered if you need more "magic".

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~292 days

Total

5

Last Release

3357d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9daf523f8e47ddeb8af23183c06721c4e89111eb4eb3f9ce264242b373e9dd80?d=identicon)[spantaleev](/maintainers/spantaleev)

---

Top Contributors

[![spantaleev](https://avatars.githubusercontent.com/u/388669?v=4)](https://github.com/spantaleev "spantaleev (5 commits)")[![lpopov](https://avatars.githubusercontent.com/u/837343?v=4)](https://github.com/lpopov "lpopov (1 commits)")

---

Tags

databasedoctrinedbalmongodbrelational

### Embed Badge

![Health badge](/badges/devture-dbal/health.svg)

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

###  Alternatives

[nettrine/dbal

Doctrine DBAL for Nette Framework

322.6M19](/packages/nettrine-dbal)[doesntmattr/mongodb-migrations-bundle

Symfony MongoDBMigrationsBundle

23484.5k1](/packages/doesntmattr-mongodb-migrations-bundle)[jawira/db-draw

📐 Takes a DoctrineORM connection and generates a database diagram in .puml format

2295.1k2](/packages/jawira-db-draw)[williarin/wordpress-interop

Interoperability library to work with WordPress database in third party apps

6610.9k2](/packages/williarin-wordpress-interop)[crate/crate-dbal

Doctrine Database Abstraction Layer (DBAL) adapter for CrateDB

1746.7k1](/packages/crate-crate-dbal)

PHPackages © 2026

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