PHPackages                             gabrysiak/pdo-wrapper - 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. gabrysiak/pdo-wrapper

ActiveLibrary

gabrysiak/pdo-wrapper
=====================

PHP PDO wrapper class

06PHP

Since Aug 10Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

This is a PDO Wrapper Class
===========================

[](#this-is-a-pdo-wrapper-class)

Example Usage:

CONNECT:

```
$db = new DB("mysql:host=localhost;dbname=db", "dbuser", "dbpass");
```

ERROR HANDLING:

```
$db->setErrorCallbackFunction("myErrorHandler");
```

SELECT:

```
$result = $db->select('tablename', 'foo = "bar"');
foreach($result as $row) {
    echo $row['foo'];
}
```

PREPARED SELECT:

```
$foo = "bar";
$bind = array(
  ":name"	=>	"$foo"
);
$results = $db->select("mytable", "name = :name", $bind, 'first_name, last_name');
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/04e3c7c726d55bde2ae12dfe1b98813567885af42854f88cf972f1fd93c2af12?d=identicon)[tomgabrysiak](/maintainers/tomgabrysiak)

---

Top Contributors

[![gabrysiak](https://avatars.githubusercontent.com/u/5203689?v=4)](https://github.com/gabrysiak "gabrysiak (12 commits)")

### Embed Badge

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

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

PHPackages © 2026

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