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(7mo ago)16.8k↓57.7%1MITPHPCI passing

Since May 29Pushed 7mo agoCompare

[ Source](https://github.com/HoltBosse/db)[ Packagist](https://packagist.org/packages/holtbosse/db)[ RSS](/packages/holtbosse-db/feed)WikiDiscussions master Synced 2d 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

37

—

LowBetter than 81% of packages

Maintenance62

Regular maintenance activity

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

234d 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.9k117.2M118](/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

198741.5k12](/packages/pgvector-pgvector)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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