PHPackages                             dabl/adapter - 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. dabl/adapter

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

dabl/adapter
============

DABL database adapters

v1.2.1(9y ago)15843MITPHP

Since Jul 5Pushed 9y ago2 watchersCompare

[ Source](https://github.com/ManifestWebDesign/dabl-adapter)[ Packagist](https://packagist.org/packages/dabl/adapter)[ RSS](/packages/dabl-adapter/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (11)Used By (3)

[![Build Status](https://camo.githubusercontent.com/1716957873fe3226367fc001b3c61aa3e634970e113656169a50863f50dc53bd/68747470733a2f2f7472617669732d63692e6f72672f4d616e696665737457656244657369676e2f6461626c2d616461707465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ManifestWebDesign/dabl-adapter)

DABL Adapter
============

[](#dabl-adapter)

Subclasses of PHP PDO for various SQL dialects

Example
-------

[](#example)

code:

```
use Dabl\Adapter\DABLPDO;

// get connection (parameters usually come from .ini file)
$pdo = DABLPDO::connect(array(
    'driver' => 'mysql',
    'host' => 'localhost',
    'dbname' => 'test',
    'user' => 'root',
    'password' => ''
));

// Get database schema
$schema = $pdo->getDatabaseSchema();
$tables = $schema->getTables();
$columns = $table[0]->getColumns();
$type = $columns[0]->getType();
```

Features
--------

[](#features)

- Normalized constructor
- Read schema schemas (thanks to modified Propel libraries)
- Date and time helper methods (getTimestampFormatter, hourStart, dayStart, weekStart, monthStart)
- Helper methods for quoting arrays of parameters and identifier quoting
- Helper methods for applying LIMIT behavior

Supported Dialects
------------------

[](#supported-dialects)

- Microsoft Access
- Microsoft SQL Server
- MySQL
- Oracle
- Postgres
- Redshift
- SQLite

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity69

Established project with proven stability

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

Recently: every ~47 days

Total

10

Last Release

3362d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/459337?v=4)[Dan Blaisdell](/maintainers/danomatic)[@danomatic](https://github.com/danomatic)

---

Top Contributors

[![danomatic](https://avatars.githubusercontent.com/u/459337?v=4)](https://github.com/danomatic "danomatic (26 commits)")

---

Tags

abstractiondatabaseormadapterpropeldabl

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dabl-adapter/health.svg)

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

###  Alternatives

[friendsofsymfony1/doctrine1

PHP Database ORM for Symfony1. Do NOT use for new projects: please move to a newest Symfony release and Doctrine2

40642.3k](/packages/friendsofsymfony1-doctrine1)[perplorm/perpl

Perpl is an improved and still maintained fork of Propel2, an open-source Object-Relational Mapping (ORM) for PHP.

249.4k](/packages/perplorm-perpl)

PHPackages © 2026

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