PHPackages                             crate/crate-pdo - 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-pdo

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

crate/crate-pdo
===============

CrateDB PDO Driver

2.2.4(5mo ago)3592.0k—9.6%20[1 issues](https://github.com/crate/crate-pdo/issues)2Apache-2.0PHPPHP ^7.3|^7.4|^8.0|^8.1|^8.2|^8.3|^8.4|^8.5|^8.6CI passing

Since Sep 9Pushed 1mo ago36 watchersCompare

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

READMEChangelogDependencies (4)Versions (44)Used By (2)

CrateDB PDO Driver
==================

[](#cratedb-pdo-driver)

[![License](https://camo.githubusercontent.com/d43026b29cfe06453942bf538206d6a57052c8d732b59236b82715689f00bbac/68747470733a2f2f706f7365722e707567782e6f72672f63726174652f63726174652d70646f2f6c6963656e7365)](https://packagist.org/packages/crate/crate-pdo)[![Latest stable version](https://camo.githubusercontent.com/a30378ab809dbb03649eaf927a1d9f179ec15b7a88377b3997e8de23e79c3cf7/68747470733a2f2f706f7365722e707567782e6f72672f63726174652f63726174652d70646f2f762f737461626c65)](https://packagist.org/packages/crate/crate-pdo)[![Monthly downloads](https://camo.githubusercontent.com/9bcd19b56b83c9092188447ea51981368a3a766d5e691e59f5efbc736516422d/68747470733a2f2f706f7365722e707567782e6f72672f63726174652f63726174652d70646f2f642f6d6f6e74686c79)](https://packagist.org/packages/crate/crate-pdo)[![Supported PHP versions](https://camo.githubusercontent.com/baae5ab1556c00bb8176516649ee7ed30094e4dd3dc789674d43ecc0fb5f4e4a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e33253243253230372e34253243253230382e30253243253230382e31253243253230382e32253243253230382e33253243253230382e34253243253230382e35253243253230382e362d677265656e2e737667)](https://packagist.org/packages/crate/crate-pdo)

[![Build status](https://github.com/crate/crate-pdo/workflows/Tests/badge.svg)](https://github.com/crate/crate-pdo/actions?workflow=Tests)[![Build status (documentation)](https://github.com/crate/crate-pdo/workflows/Docs/badge.svg)](https://github.com/crate/crate-pdo/actions?workflow=Docs)[![Coverage](https://camo.githubusercontent.com/7a81ec75af71b323299a09cca950171953aeadc61d5ee057bbad41e32c982ce6/68747470733a2f2f636f6465636f762e696f2f67682f63726174652f63726174652d70646f2f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://app.codecov.io/gh/crate/crate-pdo)[![Quality](https://camo.githubusercontent.com/620d9e28710bb447e16e5380cef14b66fecfe16fe2f4658037a661c8255f37f7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63726174652f63726174652d70646f2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/crate/crate-pdo)

The [PHP Data Objects (PDO)](https://www.php.net/manual/en/book.pdo.php) extension defines a lightweight, consistent interface for accessing databases in PHP.

The [CrateDB PDO Driver](https://github.com/crate/crate-pdo) provides a PDO adapter to the HTTP interface of [CrateDB](https://github.com/crate/crate). It allows you to use the standard PDO API when connecting to CrateDB from PHP applications.

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

[](#installation)

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

```
composer require crate/crate-pdo
```

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

[](#documentation)

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

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

[](#contributing)

This project is primarily maintained by [Crate.io](https://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

67

—

FairBetter than 100% of packages

Maintenance79

Regular maintenance activity

Popularity44

Moderate usage in the ecosystem

Community38

Small or concentrated contributor base

Maturity93

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

Recently: every ~231 days

Total

41

Last Release

178d ago

Major Versions

0.7.0 → 1.0.02018-04-05

0.7.x-dev → 1.1.02020-09-28

1.1.0 → 2.0.02021-04-27

1.0.x-dev → 2.1.42022-11-29

PHP version history (9 changes)0.0.1PHP ~5.4

0.0.2PHP ~5.5

0.3.1PHP ~5.5|~7.0

1.0.0PHP ^7.2

2.0.0PHP ^7.3|^8.0|^8.1

2.1.0PHP ^7.3|^8.0

2.1.4PHP ^7.3|^8.0|^8.1|^8.2

2.2.1PHP ^7.3|^8.0|^8.1|^8.2|^8.3|^8.4

2.2.4PHP ^7.3|^7.4|^8.0|^8.1|^8.2|^8.3|^8.4|^8.5|^8.6

### 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

[![awartoft](https://avatars.githubusercontent.com/u/1127626?v=4)](https://github.com/awartoft "awartoft (118 commits)")[![amotl](https://avatars.githubusercontent.com/u/453543?v=4)](https://github.com/amotl "amotl (94 commits)")[![seut](https://avatars.githubusercontent.com/u/219690?v=4)](https://github.com/seut "seut (34 commits)")[![chaudum](https://avatars.githubusercontent.com/u/281260?v=4)](https://github.com/chaudum "chaudum (25 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (15 commits)")[![nomicode](https://avatars.githubusercontent.com/u/23469?v=4)](https://github.com/nomicode "nomicode (14 commits)")[![alexander-schranz](https://avatars.githubusercontent.com/u/1698337?v=4)](https://github.com/alexander-schranz "alexander-schranz (5 commits)")[![bmunkholm](https://avatars.githubusercontent.com/u/1215687?v=4)](https://github.com/bmunkholm "bmunkholm (4 commits)")[![JulianMar](https://avatars.githubusercontent.com/u/29117090?v=4)](https://github.com/JulianMar "JulianMar (3 commits)")[![krzaczek](https://avatars.githubusercontent.com/u/5773701?v=4)](https://github.com/krzaczek "krzaczek (3 commits)")[![kevinkq](https://avatars.githubusercontent.com/u/50075867?v=4)](https://github.com/kevinkq "kevinkq (3 commits)")[![alanhartless](https://avatars.githubusercontent.com/u/63312?v=4)](https://github.com/alanhartless "alanhartless (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![dobe](https://avatars.githubusercontent.com/u/48020?v=4)](https://github.com/dobe "dobe (2 commits)")[![hlcianfagna](https://avatars.githubusercontent.com/u/110453267?v=4)](https://github.com/hlcianfagna "hlcianfagna (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)")[![mergify[bot]](https://avatars.githubusercontent.com/in/10562?v=4)](https://github.com/mergify[bot] "mergify[bot] (1 commits)")[![michabbb](https://avatars.githubusercontent.com/u/3524595?v=4)](https://github.com/michabbb "michabbb (1 commits)")[![mkleen](https://avatars.githubusercontent.com/u/338234?v=4)](https://github.com/mkleen "mkleen (1 commits)")

---

Tags

cratedbcratedb-driverpdopdo-cratedbpdo-databasepdo-database-librarypdo-phppdo-wrapperphpphp-databasephp-libraryphp-pdophp8databasepdocrateDB

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  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)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[ifsnop/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k5.5M69](/packages/ifsnop-mysqldump-php)[nette/database

💾 Nette Database: layer with a familiar PDO-like API but much more powerful. Building queries, advanced joins, drivers for MySQL, PostgreSQL, SQLite, MS SQL Server and Oracle.

5656.7M234](/packages/nette-database)[dibi/dibi

Dibi is Database Abstraction Library for PHP

5013.8M120](/packages/dibi-dibi)[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4572.9M34](/packages/aura-sqlquery)

PHPackages © 2026

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