PHPackages                             asojon/mysql-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. [Database &amp; ORM](/categories/database)
4. /
5. asojon/mysql-pdo-wrapper

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

asojon/mysql-pdo-wrapper
========================

A very simple wrapper around PDO and MySQL, making use of prepared statements.

0453[1 issues](https://github.com/Dameon87/mysql-pdo-wrapper/issues)[1 PRs](https://github.com/Dameon87/mysql-pdo-wrapper/pulls)PHP

Since Nov 4Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Dameon87/mysql-pdo-wrapper)[ Packagist](https://packagist.org/packages/asojon/mysql-pdo-wrapper)[ RSS](/packages/asojon-mysql-pdo-wrapper/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

mysql-pdo-wrapper
=================

[](#mysql-pdo-wrapper)

MySQL PDO Wrapper

A very simple PDO Wrapper for making the process of prepared statements easier.

Example of use can be found in Examples.php

Requires PHP 5.4+ at this time.

All examples below include the Table argument. This can be ommitted with $db-&gt;setTable('TableName'); ###Insert example:

```
$db->insert(array('field' => 'value, 'field2' => 'value2'), 'Table');

```

\#####Parameters: (Array of Fields=&gt;Values, Table)

\###Update example:

```
$db->insert(array('field' => 'value', 'field2' => 'value2', 'field3="value3"'), 'Table');

```

\#####Parameters: (Array of Fields=&gt;Values, WHERE, Table)

\###Select example:

```
$db->select(array('field' => 'value'), 'fields,defaults,to,*', 'Table');

```

\#####Parameters: (Array of Fields=&gt;Values, Fields, Table)

\###Delete example:

```
$db->delete(array('field' => 'value'), array('field' => 'value'), 'Table');

```

\#####Parameters: (Array of Fields=&gt;Values, Array of Search Fields=&gt;Values, Table)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

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://avatars.githubusercontent.com/u/539675?v=4)[Jonathon Bischof](/maintainers/Dameon87)[@Dameon87](https://github.com/Dameon87)

---

Top Contributors

[![Dameon87](https://avatars.githubusercontent.com/u/539675?v=4)](https://github.com/Dameon87 "Dameon87 (24 commits)")

### Embed Badge

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

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

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