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

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

binsoul/db
==========

Common database related classes and interfaces

044PHP

Since Apr 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/binsoul/db)[ Packagist](https://packagist.org/packages/binsoul/db)[ RSS](/packages/binsoul-db/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

db
==

[](#db)

[![Latest Version on Packagist](https://camo.githubusercontent.com/944a5253cc3820e2947138492d01ddd788e2848f063b3610991a3fd028db6ba8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62696e736f756c2f64622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/binsoul/db)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/dde93a0c9b4601ea525ed8a2c3c334b1bf0ba6ac1ce3dc164be9b50d541285cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62696e736f756c2f64622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/binsoul/db)

This package provides common database related classes and interfaces and includes a default database implementation and a default connection pool implementation.

The interfaces define a thin wrapper for SQL statement execution using connection pools and split read and write connections. Different database platform implementations can provide specialized connection, result and statement builder classes.

Install
-------

[](#install)

Via composer:

```
$ composer require binsoul/db
```

Testing
-------

[](#testing)

```
$ composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

---

Top Contributors

[![binsoul](https://avatars.githubusercontent.com/u/14879936?v=4)](https://github.com/binsoul "binsoul (16 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/binsoul-db/health.svg)](https://phpackages.com/packages/binsoul-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)
