PHPackages                             holtbosse/db - 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. holtbosse/db

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

holtbosse/db
============

simple database class for working with pdo

1.1.0(9mo ago)17.1k↓60.1%1MITPHPCI passing

Since May 29Pushed 9mo agoCompare

[ Source](https://github.com/HoltBosse/db)[ Packagist](https://packagist.org/packages/holtbosse/db)[ RSS](/packages/holtbosse-db/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (4)Used By (1)

HoltBosse DB library
====================

[](#holtbosse-db-library)

simple wrapper over php pdo

to use it:

```
use HoltBosse\DB\DB;

DB::createInstance($dsn, $username, $password);

//utility methods
$result = DB::fetch(...);
$result = DB::fetchAll(...);
$result = DB::exec(...);
$result = DB::getLastInsertedId();

//get the raw pdo object
$pdo = DB::getPdo();
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance58

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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 ~165 days

Total

2

Last Release

280d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/118c7249bbc70be7f33b0c7e0d7a310b1033aec1c965379cbc887f872cb1df9e?d=identicon)[workaj](/maintainers/workaj)

![](https://www.gravatar.com/avatar/c5bb6c099d9cd79e97120152b01f27cf71724ded9bd259f13dcf7f30bc2e4603?d=identicon)[holtbossetech](/maintainers/holtbossetech)

---

Top Contributors

[![workaj](https://avatars.githubusercontent.com/u/109080500?v=4)](https://github.com/workaj "workaj (9 commits)")[![janessalee11](https://avatars.githubusercontent.com/u/119462355?v=4)](https://github.com/janessalee11 "janessalee11 (2 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/holtbosse-db/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

2920.0k](/packages/voku-session2db)

PHPackages © 2026

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