PHPackages                             bayfrontmedia/simple-pdo - 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. bayfrontmedia/simple-pdo

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

bayfrontmedia/simple-pdo
========================

A simple and secure database abstraction layer which utilizes the PDO interface and supports working with multiple databases.

v5.4.4(2mo ago)21.4k↓100%12MITPHPPHP ^8.0

Since Jan 29Pushed 2mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (19)Used By (2)

Simple PDO
----------

[](#simple-pdo)

A simple and secure database abstraction layer which utilizes the PDO interface and supports working with multiple databases.

Simple PDO was designed to provide a collection of functions which ensure safe and secure database queries with a simple-to-use interface without compromising speed - all the while supporting simultaneous connections of multiple databases.

Simple PDO also utilizes prepared statements using named bindings to protect against SQL injections.

- [License](#license)
- [Author](#author)
- [Requirements](#requirements)
- [Installation](#installation)
- [Documentation](#documentation)

License
-------

[](#license)

This project is open source and available under the [MIT License](LICENSE).

Author
------

[](#author)

[![Bayfront Media](https://camo.githubusercontent.com/0c0163913b2092e97dbf9684970adaf86f2f25871298d3d28b2dff4bf75b2915/68747470733a2f2f63646e312e6f6e62617966726f6e742e636f6d2f62666d2f6272616e642f62666d2d6c6f676f2e737667)](https://camo.githubusercontent.com/0c0163913b2092e97dbf9684970adaf86f2f25871298d3d28b2dff4bf75b2915/68747470733a2f2f63646e312e6f6e62617966726f6e742e636f6d2f62666d2f6272616e642f62666d2d6c6f676f2e737667)

- [Bayfront Media homepage](https://www.bayfrontmedia.com?utm_source=github&utm_medium=direct)
- [Bayfront Media GitHub](https://github.com/bayfrontmedia)

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

[](#requirements)

- PHP `^8.0` (Tested up to `8.4`)
- PDO PHP extension

Installation
------------

[](#installation)

```
composer require bayfrontmedia/simple-pdo

```

Documentation
-------------

[](#documentation)

See [documentation](docs/README.md).

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance94

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 96.6% 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 ~116 days

Total

17

Last Release

60d ago

Major Versions

v1.0.1 → v2.0.02023-01-26

v2.2.0 → v3.0.02023-05-10

v3.0.0 → v4.0.02024-09-11

v4.0.1 → v5.0.02024-09-17

PHP version history (2 changes)v1.0.0PHP &gt;=7.1.0

v2.0.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![robinsonjohn](https://avatars.githubusercontent.com/u/24327848?v=4)](https://github.com/robinsonjohn "robinsonjohn (28 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")

---

Tags

databasemysqlpdophpsqlphpdatabasemysqlsqlpdo

### Embed Badge

![Health badge](/badges/bayfrontmedia-simple-pdo/health.svg)

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

###  Alternatives

[ifsnop/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k5.5M68](/packages/ifsnop-mysqldump-php)[clouddueling/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k22.9k](/packages/clouddueling-mysqldump-php)[druidfi/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

35489.8k6](/packages/druidfi-mysqldump-php)[delight-im/db

Safe and convenient SQL database access in a driver-agnostic way

49156.8k7](/packages/delight-im-db)[popphp/pop-db

Pop Db Component for Pop PHP Framework

1814.6k11](/packages/popphp-pop-db)[riverside/php-orm

PHP ORM micro-library and query builder

111.2k](/packages/riverside-php-orm)

PHPackages © 2026

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