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

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

szemul/database
===============

Simple wrapper for PDO to make it easier to use and easier to mock

3.1.0(2y ago)02.5k[1 issues](https://github.com/szemul/database/issues)2MITPHPPHP ^8.1

Since Aug 28Pushed 2y ago2 watchersCompare

[ Source](https://github.com/szemul/database)[ Packagist](https://packagist.org/packages/szemul/database)[ RSS](/packages/szemul-database/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (17)Used By (2)

Database
========

[](#database)

[![CI pipeline](https://github.com/szemul/database/actions/workflows/php.yml/badge.svg)](https://github.com/szemul/database/actions/workflows/php.yml/badge.svg)[![codecov](https://camo.githubusercontent.com/eff321cd05d3590f4c1e53032492617cb0f08903abd059a494e2ecdc98704f1e/68747470733a2f2f636f6465636f762e696f2f67682f737a656d756c2f64617461626173652f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d41543656494b52545452)](https://codecov.io/gh/szemul/database)

Simple wrapper for PDO to make it easier to use and easier to mock. Supports debugging/tracing via the optional `szemul/debugger` package.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 92% 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 ~56 days

Recently: every ~119 days

Total

13

Last Release

1045d ago

Major Versions

1.0.6 → 2.0.02022-01-16

2.1.0 → 3.0.02022-10-03

PHP version history (2 changes)v1.0.0PHP ^8.0

3.0.1PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e74721923742f5c04b8ccd5796e0a0e0e744fd004fbaae3c7813b27e125ae70?d=identicon)[szeber](/maintainers/szeber)

---

Top Contributors

[![szeber](https://avatars.githubusercontent.com/u/1102330?v=4)](https://github.com/szeber "szeber (23 commits)")[![emulgeator](https://avatars.githubusercontent.com/u/1370980?v=4)](https://github.com/emulgeator "emulgeator (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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