PHPackages                             luisalonsobr/database - 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. luisalonsobr/database

ActiveLibrary

luisalonsobr/database
=====================

PDO wrapper class for safe database querying

017PHP

Since Oct 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/luisalonsobr/Database)[ Packagist](https://packagist.org/packages/luisalonsobr/database)[ RSS](/packages/luisalonsobr-database/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP-PDO-Wrapper-Class
=====================

[](#php-pdo-wrapper-class)

An extension for PHP's PDO class designed to make running SQL statements easier. Based on Project Overview

This project provides a minimal extension for PHP's PDO (PHP Data Objects) class designed for ease-of-use and saving development time/effort. This is achived by providing methods - delete, insert, select, and update - for quickly building common SQL statements, handling exceptions when SQL errors are produced, and automatically returning results/number of affected rows for the appropriate SQL statement types. System Requirements

```
PHP 7
PDO Extension
Appropriate PDO Driver(s) - PDO_SQLITE, PDO_MYSQL, PDO_PGSQL
Only MySQL, SQLite, and PostgreSQL database types are currently supported.

```

Checkout index.php and class.db.php for more info.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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/26698413?v=4)[Wade W](/maintainers/spectral)[@spectral](https://github.com/spectral)

---

Top Contributors

[![luisalonsobr](https://avatars.githubusercontent.com/u/8870244?v=4)](https://github.com/luisalonsobr "luisalonsobr (25 commits)")

### Embed Badge

![Health badge](/badges/luisalonsobr-database/health.svg)

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

PHPackages © 2026

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