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

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

kdoctrine/dbal
==============

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

23.0.1(4y ago)01.3kMITPHPPHP ^7.3 || ^8

Since Nov 21Pushed 2y agoCompare

[ Source](https://github.com/kdoctrine/dbal)[ Packagist](https://packagist.org/packages/kdoctrine/dbal)[ Docs](https://www.doctrine-project.org/projects/dbal.html)[ Fund](https://www.doctrine-project.org/sponsorship.html)[ Patreon](https://www.patreon.com/phpdoctrine)[ RSS](/packages/kdoctrine-dbal/feed)WikiDiscussions 2.12.x Synced 1w ago

READMEChangelogDependencies (9)Versions (91)Used By (0)

Doctrine DBAL
=============

[](#doctrine-dbal)

[4.0-dev](https://travis-ci.org/doctrine/dbal)[3.0](https://github.com/doctrine/dbal/tree/3.0.x)[2.12](https://github.com/doctrine/dbal/tree/2.12.x)[![Build status](https://camo.githubusercontent.com/e8f3e2ab1d215bc746a9e231f43afa487569f6f95ef9379301b47c4019939547/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f646f637472696e652f6462616c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/doctrine/dbal)[![Build status](https://camo.githubusercontent.com/af1b95218090f81542264cf16ace1910b7ec033f3bd98faeae4f6c05917cd460/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f646f637472696e652f6462616c2f332e302e782e7376673f7374796c653d666c61742d737175617265)](https://github.com/doctrine/dbal/tree/3.0.x)[![Build status](https://camo.githubusercontent.com/9565945fd180bb36d90ed9b20547df38d3e3a0c8da5fe1d0532a407879397eaa/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f646f637472696e652f6462616c2f322e31322e782e7376673f7374796c653d666c61742d737175617265)](https://github.com/doctrine/dbal/tree/2.12.x)[![GitHub Actions](https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg)](https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3Amaster)[![GitHub Actions](https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg?branch=3.0.x)](https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A3.0.x)[![GitHub Actions](https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg?branch=2.12.x)](https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A2.12.x)[![AppVeyor](https://camo.githubusercontent.com/ac0adcc0c0e7adc6f4065488238d25c87e8929a48d7d0cc984a6746841d60fda/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6938386b697471387170626d307669652f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/doctrine/dbal/branch/master)[![AppVeyor](https://camo.githubusercontent.com/c7404a7936470151006095f029d2fdb4bd99813eba56c9ca543676eca8a72749/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6938386b697471387170626d307669652f6272616e63682f332e302e783f7376673d74727565)](https://ci.appveyor.com/project/doctrine/dbal/branch/3.0.x)[![AppVeyor](https://camo.githubusercontent.com/eff5bb57d978af023cd4dc2e6a762bf750af33e74a68f3fee58ce595eba4de63/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6938386b697471387170626d307669652f6272616e63682f322e31322e783f7376673d74727565)](https://ci.appveyor.com/project/doctrine/dbal/branch/2.12.x)[![Code Coverage](https://camo.githubusercontent.com/bca52d3ceac3a592389e759a5b68d66fbf3de563e7f28080af12577409d71a4c/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f6462616c2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/doctrine/dbal/branch/master)[![Code Coverage](https://camo.githubusercontent.com/cad4909436f8f40805191aaf7d815f3ccce1e4067b9ac61b993a62485e84d1de/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f6462616c2f6272616e63682f332e302e782f67726170682f62616467652e737667)](https://codecov.io/gh/doctrine/dbal/branch/3.0.x)[![Code Coverage](https://camo.githubusercontent.com/1cb70453560d4ba12d5e4a36c7573cbc86a468aeab184902857720ba69b9e677/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f6462616c2f6272616e63682f322e31322e782f67726170682f62616467652e737667)](https://codecov.io/gh/doctrine/dbal/branch/2.12.x)Powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction.

More resources:
---------------

[](#more-resources)

- [Website](http://www.doctrine-project.org/projects/dbal.html)
- [Documentation](http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/)
- [Issue Tracker](https://github.com/doctrine/dbal/issues)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~48 days

Recently: every ~132 days

Total

90

Last Release

975d ago

Major Versions

2.12.1 → 3.0.02020-11-15

3.0.0 → 13.0.02020-12-14

2.12.x-dev → 3.0.x-dev2020-12-14

3.1.x-dev → 13.0.12020-12-21

13.0.6 → 23.0.12022-04-06

PHP version history (6 changes)2.1.5PHP &gt;=5.3.2

v2.6.0PHP ^7.1

v2.10.0PHP ^7.2

2.11.0PHP ^7.3

2.12.0PHP ^7.3 || ^8

3.0.0PHP ^7.3 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (874 commits)")[![morozov](https://avatars.githubusercontent.com/u/59683?v=4)](https://github.com/morozov "morozov (682 commits)")[![deeky666](https://avatars.githubusercontent.com/u/1411514?v=4)](https://github.com/deeky666 "deeky666 (543 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (447 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (201 commits)")[![guilhermeblanco](https://avatars.githubusercontent.com/u/208883?v=4)](https://github.com/guilhermeblanco "guilhermeblanco (129 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (82 commits)")[![Majkl578](https://avatars.githubusercontent.com/u/144181?v=4)](https://github.com/Majkl578 "Majkl578 (65 commits)")[![kimhemsoe](https://avatars.githubusercontent.com/u/568787?v=4)](https://github.com/kimhemsoe "kimhemsoe (57 commits)")[![lcobucci](https://avatars.githubusercontent.com/u/201963?v=4)](https://github.com/lcobucci "lcobucci (50 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (50 commits)")[![romanb](https://avatars.githubusercontent.com/u/177309?v=4)](https://github.com/romanb "romanb (48 commits)")[![juokaz](https://avatars.githubusercontent.com/u/157597?v=4)](https://github.com/juokaz "juokaz (44 commits)")[![belgattitude](https://avatars.githubusercontent.com/u/259798?v=4)](https://github.com/belgattitude "belgattitude (42 commits)")[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (33 commits)")[![jsor](https://avatars.githubusercontent.com/u/55574?v=4)](https://github.com/jsor "jsor (32 commits)")[![photodude](https://avatars.githubusercontent.com/u/10253980?v=4)](https://github.com/photodude "photodude (29 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (27 commits)")[![PowerKiKi](https://avatars.githubusercontent.com/u/72603?v=4)](https://github.com/PowerKiKi "PowerKiKi (26 commits)")[![bantu](https://avatars.githubusercontent.com/u/189375?v=4)](https://github.com/bantu "bantu (25 commits)")

---

Tags

abstractiondatabasemysqlsqlitepostgresqlmariadbdbalqueryobjectsqlpdopgsqlsqlservermssqloraclesqlsrvoci8db2sasqlsqlanywhere

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k578.4M5.6k](/packages/doctrine-dbal)[ezsql/ezsql

Advance database access library. Make interacting with a database ridiculously easy. An universal interchangeable CRUD system.

86946.7k](/packages/ezsql-ezsql)[dibi/dibi

Dibi is Database Abstraction Library for PHP

5013.8M120](/packages/dibi-dibi)[jv2222/ezsql

Advance database access library. Make interacting with a database ridiculously easy. An universal interchangeable CRUD system.

87311.3k2](/packages/jv2222-ezsql)[ramadan/easy-model

A Laravel package for enjoyably managing database queries.

101.6k](/packages/ramadan-easy-model)[aura/sqlschema

Provides facilities to read table names and table columns from a database using PDO.

41234.1k4](/packages/aura-sqlschema)

PHPackages © 2026

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