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

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

kitlabs/dbal
============

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

3.6.77(2y ago)0156MITPHPPHP ^7.4 || ^8.0

Since Nov 21Pushed 1y agoCompare

[ Source](https://github.com/kitlabs-cn/dbal)[ Packagist](https://packagist.org/packages/kitlabs/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/kitlabs-dbal/feed)WikiDiscussions 3.6.x Synced 1mo ago

READMEChangelogDependencies (18)Versions (129)Used By (0)

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

[](#doctrine-dbal)

[4.0-dev](https://github.com/doctrine/dbal/tree/4.0.x)[3.6](https://github.com/doctrine/dbal/tree/3.6.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%3A4.0.x)[![GitHub Actions](https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg?branch=3.6.x)](https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A3.6.x)[![AppVeyor](https://camo.githubusercontent.com/f441a27b83c2cfc39a57cb2631cfc03c3bf2b7b814c5547989028797fb5fd27c/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6938386b697471387170626d307669652f6272616e63682f342e302e783f7376673d74727565)](https://ci.appveyor.com/project/doctrine/dbal/branch/4.0.x)[![AppVeyor](https://camo.githubusercontent.com/c98c5c6d798f900b52779ced24175441bc03491fb64fd4c7dcde9526993a94d8/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6938386b697471387170626d307669652f6272616e63682f332e362e783f7376673d74727565)](https://ci.appveyor.com/project/doctrine/dbal/branch/3.6.x)[![Code Coverage](https://camo.githubusercontent.com/736ea4cb9d3b7679fe0f159eea3d59e004aef6870ebfed5fdfb18f7affc903a8/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f6462616c2f6272616e63682f342e302e782f67726170682f62616467652e737667)](https://codecov.io/gh/doctrine/dbal/branch/4.0.x)[![Code Coverage](https://camo.githubusercontent.com/421df6206b92f8690b7c5d9e4a36a60a3f98e5ad04f9fc3501831eea56169d98/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f6462616c2f6272616e63682f332e362e782f67726170682f62616467652e737667)](https://codecov.io/gh/doctrine/dbal/branch/3.6.x)N/A[![Type Coverage](https://camo.githubusercontent.com/9f6a997c41c71bb4d125ecb3d771108598ed748245b19c34ff780bd57031ab2a/68747470733a2f2f73686570686572642e6465762f6769746875622f646f637472696e652f6462616c2f636f7665726167652e737667)](https://shepherd.dev/github/doctrine/dbal)Powerful ***D***ata***B***ase ***A***bstraction ***L***ayer with many features for database schema introspection and schema management.

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

39

—

LowBetter than 86% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

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

Recently: every ~108 days

Total

129

Last Release

538d ago

Major Versions

2.13.8 → 3.3.32022-03-09

2.13.9 → 3.3.72022-06-13

3.5.0 → 4.0.0-beta12022-10-22

3.6.0 → 4.0.0-beta22023-02-07

3.6.77 → 4.0.x-dev2024-03-21

PHP version history (9 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

2.13.0PHP ^7.1 || ^8

3.4.0PHP ^7.4 || ^8.0

4.0.0-beta1PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![morozov](https://avatars.githubusercontent.com/u/59683?v=4)](https://github.com/morozov "morozov (1694 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (917 commits)")[![deeky666](https://avatars.githubusercontent.com/u/1411514?v=4)](https://github.com/deeky666 "deeky666 (543 commits)")[![derrabus](https://avatars.githubusercontent.com/u/1506493?v=4)](https://github.com/derrabus "derrabus (480 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (451 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (431 commits)")[![guilhermeblanco](https://avatars.githubusercontent.com/u/208883?v=4)](https://github.com/guilhermeblanco "guilhermeblanco (131 commits)")[![Majkl578](https://avatars.githubusercontent.com/u/144181?v=4)](https://github.com/Majkl578 "Majkl578 (88 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (84 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 (51 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 (38 commits)")[![jsor](https://avatars.githubusercontent.com/u/55574?v=4)](https://github.com/jsor "jsor (32 commits)")[![SenseException](https://avatars.githubusercontent.com/u/859964?v=4)](https://github.com/SenseException "SenseException (31 commits)")[![photodude](https://avatars.githubusercontent.com/u/10253980?v=4)](https://github.com/photodude "photodude (29 commits)")[![PowerKiKi](https://avatars.githubusercontent.com/u/72603?v=4)](https://github.com/PowerKiKi "PowerKiKi (28 commits)")

---

Tags

abstractiondatabasemysqlsqlitepostgresqlmariadbdbalqueryobjectsqlpdopgsqlsqlservermssqloraclesqlsrvoci8db2sasql

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/kitlabs-dbal/health.svg)](https://phpackages.com/packages/kitlabs-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)[tommyknocker/pdo-database-class

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.

845.7k](/packages/tommyknocker-pdo-database-class)

PHPackages © 2026

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