PHPackages                             flrnull/php-pdo-chainer - 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. flrnull/php-pdo-chainer

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

flrnull/php-pdo-chainer
=======================

PHP PDO wrapper

2102[1 issues](https://github.com/flrnull/php-pdo-chainer/issues)PHP

Since Nov 15Pushed 10y ago2 watchersCompare

[ Source](https://github.com/flrnull/php-pdo-chainer)[ Packagist](https://packagist.org/packages/flrnull/php-pdo-chainer)[ RSS](/packages/flrnull-php-pdo-chainer/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PHP PDO wrappers
================

[](#php-pdo-wrappers)

1. PDOChainer — low level DataBase manipulation class.
2. DBAL — DB layer over PDOChainer.

PDOChainer usage example
------------------------

[](#pdochainer-usage-example)

```
use \PDOChainer\PDOChainer;

$params = array('host'=>'127.0.0.1', 'dbname'=>'test', 'user'=>'root', 'pass'=>'');
$db = new PDOChainer($params);

// Fetch all rows
$result = $db->query("SELECT * FROM `table`")
             ->fetchAll(PDO::FETCH_NUM);

// Fetch first row
$row = $db->prepare("SELECT * FROM `table` WHERE `id` = :id")
          ->bindValue(':id', 1, PDO::PARAM_INT)
          ->execute()
          ->fetch(PDO::FETCH_ASSOC);
```

DBAL usage example
------------------

[](#dbal-usage-example)

```
use \PDOChainer\PDOChainer;
use \PDOChainer\DBAL;

$params = array('host'=>'127.0.0.1', 'dbname'=>'test', 'user'=>'root', 'pass'=>'');
$dbal = new DBAL(new PDOChainer($params));
$table = 'users';

// Insert
$data = array(
    array('id', 2),
    array('name', 'James'),
);
$dbal->insert($table, $data);

// Update
$data = array(
    array('name', 'James'),
);
$where = array(
    array('id', 2),
);
$dbal->update($table, $data, $where);
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1926460?v=4)[Evgeniy Udodov](/maintainers/flrnull)[@flrnull](https://github.com/flrnull)

---

Top Contributors

[![flrnull](https://avatars.githubusercontent.com/u/1926460?v=4)](https://github.com/flrnull "flrnull (17 commits)")[![Yohn](https://avatars.githubusercontent.com/u/2002591?v=4)](https://github.com/Yohn "Yohn (1 commits)")

### Embed Badge

![Health badge](/badges/flrnull-php-pdo-chainer/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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