PHPackages                             dvdoug/db - 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. dvdoug/db

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

dvdoug/db
=========

PDO-like DB access, plus helper methods

0.4(5y ago)042[1 PRs](https://github.com/dvdoug/DB/pulls)MITPHPPHP ^7.1

Since Feb 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/dvdoug/DB)[ Packagist](https://packagist.org/packages/dvdoug/db)[ Docs](https://github.com/dvdoug/DB)[ GitHub Sponsors](https://github.com/dvdoug)[ RSS](/packages/dvdoug-db/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (6)Used By (0)

DB
==

[](#db)

[![Build Status](https://github.com/dvdoug/DB/workflows/CI/badge.svg?branch=master)](https://github.com/dvdoug/DB/actions?query=workflow%3ACI+branch%3Amaster)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0534b3e9ccd04585961b3d676738bea5ddbf4ff5d2e8ba100eb814a5a4f4845d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6476646f75672f44422f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dvdoug/DB/?branch=master)[![Download count](https://camo.githubusercontent.com/1296793a077619e05097d0a39390246a3fdf436d8d421229aef7582100143d10/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6476646f75672f64622e737667)](https://packagist.org/packages/dvdoug/db)[![Current version](https://camo.githubusercontent.com/d0ed56d5decf0a9578ebe5738f1ef8269b575544da1fe98ca4a816a3df776094/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6476646f75672f64622e737667)](https://packagist.org/packages/dvdoug/db)

PDO-like DB access, plus helper methods. PDO is a nice idea, but has too many driver bugs and inconsistencies to be used as-is without a wrapper. Interfaces are designed with a PDO implementation in mind, but non-PDO implementations are allowed for in cases where drivers don't exist or are simply too buggy.

Requirements
------------

[](#requirements)

- For schema conversions, minimum MySQL version is 5.6

License
-------

[](#license)

DB is MIT-licensed.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~913 days

Total

4

Last Release

2103d ago

PHP version history (3 changes)0.1PHP &gt;=5.3.0

0.3PHP &gt;=5.4.0

0.4PHP ^7.1

### Community

Maintainers

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

---

Top Contributors

[![dvdoug](https://avatars.githubusercontent.com/u/1571110?v=4)](https://github.com/dvdoug "dvdoug (89 commits)")

---

Tags

schemadb

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/dvdoug-db/health.svg)

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

###  Alternatives

[doctrine/doctrine-migrations-bundle

Symfony DoctrineMigrationsBundle

4.3k177.9M537](/packages/doctrine-doctrine-migrations-bundle)[robmorgan/phinx

Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

4.5k46.2M405](/packages/robmorgan-phinx)[aura/sqlschema

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

41234.1k4](/packages/aura-sqlschema)[mnapoli/dbal-schema

DB schema manager for Doctrine DBAL

9732.9k1](/packages/mnapoli-dbal-schema)[schema-keeper/schema-keeper

Track PostgreSQL schema as one-file-per-object dumps. Detect drift in CI. Read-only — complements your migrations.

136.1k](/packages/schema-keeper-schema-keeper)[masom/lhm

Large Hadron Migrator for phinx

309.3k](/packages/masom-lhm)

PHPackages © 2026

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