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

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

crate/crate-dbal
================

Doctrine Database Abstraction Layer (DBAL) adapter for CrateDB

5.0.0(5mo ago)1746.7k10[3 PRs](https://github.com/crate/crate-dbal/pulls)1Apache-2.0PHPPHP ^8.0|^8.1|^8.2|^8.3|^8.4|^8.5CI passing

Since Oct 23Pushed 3mo ago37 watchersCompare

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

READMEChangelogDependencies (4)Versions (49)Used By (1)

CrateDB DBAL Driver
===================

[](#cratedb-dbal-driver)

[![License](https://camo.githubusercontent.com/5d6f2fc64781a5e0d52f367647dd6e74b9448dff49a6cd9b1c32aab5965718c6/68747470733a2f2f706f7365722e707567782e6f72672f63726174652f63726174652d6462616c2f6c6963656e7365)](https://packagist.org/packages/crate/crate-dbal)[![Latest stable version](https://camo.githubusercontent.com/44085d7ee7d69fe4178958465f9282ca285f6697cf5d76971b1a307007496459/68747470733a2f2f706f7365722e707567782e6f72672f63726174652f63726174652d6462616c2f762f737461626c65)](https://packagist.org/packages/crate/crate-dbal)[![Monthly downloads](https://camo.githubusercontent.com/f8f01ae6a1bb54b2342aced27c2bb75e9f37fe3b4734ded2831457bf9feac800/68747470733a2f2f706f7365722e707567782e6f72672f63726174652f63726174652d6462616c2f642f6d6f6e74686c79)](https://packagist.org/packages/crate/crate-dbal)[![Supported PHP versions](https://camo.githubusercontent.com/63c79eda3820e10f2951ff8e5c7b9458d13f572494029ac8df7327c58c1f3863/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e30253243253230382e31253243253230382e32253243253230382e33253243253230382e34253243253230382e352d677265656e2e737667)](https://packagist.org/packages/crate/crate-dbal)

[![Build status](https://github.com/crate/crate-dbal/workflows/Tests/badge.svg)](https://github.com/crate/crate-dbal/actions?workflow=Tests)[![Build status (documentation)](https://github.com/crate/crate-dbal/workflows/Docs/badge.svg)](https://github.com/crate/crate-dbal/actions?workflow=Docs)[![Coverage](https://camo.githubusercontent.com/03bdf28173b8de820c60c60f22c3dceb5184b9aaa7510f3dd240781eb1b91eb4/68747470733a2f2f636f6465636f762e696f2f67682f63726174652f63726174652d6462616c2f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://app.codecov.io/gh/crate/crate-dbal)[![Quality](https://camo.githubusercontent.com/616c680a2adb9de5ab3d49b7565db6dd9f9184e8c03e40b198e9a7e543ffede5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63726174652f63726174652d6462616c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/crate/crate-dbal)

[DBAL](http://www.doctrine-project.org/projects/dbal.html) is a PHP database abstraction layer that comes with database schema introspection, schema management, and [PDO](http://php.net/manual/en/book.pdo.php) abstraction.

The [CrateDB DBAL Driver](https://github.com/crate/crate-dbal) is an implementation of the DBAL abstraction layer for [CrateDB](https://github.com/crate/crate).

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

[](#installation)

The CrateDB PDO Driver is available as a [Composer](https://getcomposer.org/) package. See the [installation documentation](https://cratedb.com/docs/reference/dbal/getting-started.html) for more information.

```
composer require crate/crate-dbal
```

Documentation
-------------

[](#documentation)

The documentation for the `crate-dbal` package is available at .

Contributing
------------

[](#contributing)

This project is primarily maintained by [Crate.io](http://cratedb.com/), but community contributions are very much welcome. See the [developer docs](DEVELOP.rst) and the [contribution docs](CONTRIBUTING.rst) for more information about how to get started and how to contribute. If you need a different support contact for contributions or requests other than GitHub, please choose one of our other [support channels](https://cratedb.com/support/).

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance76

Regular maintenance activity

Popularity37

Limited adoption so far

Community33

Small or concentrated contributor base

Maturity94

Battle-tested with a long release history

 Bus Factor2

2 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 ~122 days

Recently: every ~166 days

Total

34

Last Release

173d ago

Major Versions

1.1.0 → 2.0.02019-08-20

1.1.x-dev → 2.1.x-dev2020-06-17

2.3.x-dev → 3.0.02021-04-28

3.0.1 → 4.0.02024-02-02

4.0.3 → 5.0.02025-11-26

PHP version history (8 changes)0.0.1PHP ~5.4

0.0.2PHP ~5.5

0.2.1PHP ~5.5|~7.0

2.0.0PHP ^7.2

3.0.0PHP ^7.3 || ^8.0

3.0.1PHP ^7.3|^8.0|^8.1|^8.2

4.0.0PHP ^8.0|^8.1|^8.2|^8.3

4.0.3PHP ^8.0|^8.1|^8.2|^8.3|^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/17f329ed2dba9ccfdaa7458f23a8e8c111606aa60232981b77f78fd5b413e1c5?d=identicon)[turbo-ele](/maintainers/turbo-ele)

![](https://www.gravatar.com/avatar/5cd6a550d1c5fe3a27a9b8c89869200666f7693e73741b75102f4fbc494b1ff3?d=identicon)[joemoe](/maintainers/joemoe)

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

![](https://avatars.githubusercontent.com/u/281260?v=4)[Christian Haudum](/maintainers/chaudum)[@chaudum](https://github.com/chaudum)

![](https://avatars.githubusercontent.com/u/158125?v=4)[Jodok Batlogg](/maintainers/jodok)[@jodok](https://github.com/jodok)

![](https://avatars.githubusercontent.com/u/6863216?v=4)[Michael Beer](/maintainers/mikethebeer)[@mikethebeer](https://github.com/mikethebeer)

![](https://avatars.githubusercontent.com/u/12958979?v=4)[Mika Naylor](/maintainers/Autophagy)[@autophagy](https://github.com/autophagy)

---

Top Contributors

[![amotl](https://avatars.githubusercontent.com/u/453543?v=4)](https://github.com/amotl "amotl (55 commits)")[![seut](https://avatars.githubusercontent.com/u/219690?v=4)](https://github.com/seut "seut (40 commits)")[![chaudum](https://avatars.githubusercontent.com/u/281260?v=4)](https://github.com/chaudum "chaudum (38 commits)")[![nomirosa](https://avatars.githubusercontent.com/u/23469?v=4)](https://github.com/nomirosa "nomirosa (7 commits)")[![kevinkq](https://avatars.githubusercontent.com/u/50075867?v=4)](https://github.com/kevinkq "kevinkq (3 commits)")[![alexander-schranz](https://avatars.githubusercontent.com/u/1698337?v=4)](https://github.com/alexander-schranz "alexander-schranz (2 commits)")[![autophagy](https://avatars.githubusercontent.com/u/12958979?v=4)](https://github.com/autophagy "autophagy (2 commits)")[![bmunkholm](https://avatars.githubusercontent.com/u/1215687?v=4)](https://github.com/bmunkholm "bmunkholm (2 commits)")[![infoverload](https://avatars.githubusercontent.com/u/6058958?v=4)](https://github.com/infoverload "infoverload (2 commits)")[![msbt](https://avatars.githubusercontent.com/u/8767096?v=4)](https://github.com/msbt "msbt (2 commits)")[![matthijskrul](https://avatars.githubusercontent.com/u/51327101?v=4)](https://github.com/matthijskrul "matthijskrul (1 commits)")[![mkleen](https://avatars.githubusercontent.com/u/338234?v=4)](https://github.com/mkleen "mkleen (1 commits)")[![spanktar](https://avatars.githubusercontent.com/u/601300?v=4)](https://github.com/spanktar "spanktar (1 commits)")[![kadryjanek](https://avatars.githubusercontent.com/u/1241067?v=4)](https://github.com/kadryjanek "kadryjanek (1 commits)")[![JulianMar](https://avatars.githubusercontent.com/u/29117090?v=4)](https://github.com/JulianMar "JulianMar (1 commits)")[![matkuliak](https://avatars.githubusercontent.com/u/53749658?v=4)](https://github.com/matkuliak "matkuliak (1 commits)")

---

Tags

cratedbcratedb-driverdbaldoctrinedoctrine-dbalphpdatabasedoctrinedbalcrateDB

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[jsor/doctrine-postgis

Spatial and Geographic Data with PostGIS and Doctrine.

2191.6M1](/packages/jsor-doctrine-postgis)[nettrine/dbal

Doctrine DBAL for Nette Framework

322.6M19](/packages/nettrine-dbal)[marktopper/doctrine-dbal-timestamp-type

Add the timestamp type for Doctrine/DBAL

49808.2k1](/packages/marktopper-doctrine-dbal-timestamp-type)[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)

PHPackages © 2026

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