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

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

jascha030/db
============

Small set of interfaces serving as a thin layer on top of doctrine/dbal.

00PHPCI passing

Since Mar 18Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

DB Service
==========

[](#db-service)

A thin layer on top of `doctrine/dbal`. This package was made for usage in the `jascha030/xerographer` package.

Getting started
---------------

[](#getting-started)

Prerequisites
-------------

[](#prerequisites)

- php: `>=8.2`
- Composer `^2.3`

### Installation

[](#installation)

```
composer require jascha030/db
```

### Testing

[](#testing)

Included with the package are a set of Unit tests using `phpunit/phpunit`. For ease of use a composer script command is defined to run the tests.

The default configuration will be used when using the `test` command, which is defined at `phpunit.xml.dist`.

```
composer test
# Or
composer run test
```

A code coverage report is generated in the project's root as `cov.xml`. The `cov.xml` file is not ignored in the `.gitignore` by default. You are encouraged to commit the latest code coverage report, when deploying new features.

### Code style &amp; Formatting

[](#code-style--formatting)

A code style configuration for `friendsofphp/php-cs-fixer` is included, defined in `.php-cs-fixer.dist.php`.

```
composer format
```

License
-------

[](#license)

This composer package is an open-sourced software licensed under the [MIT License](https://github.com/jascha030/sb-service/blob/master/LICENSE.md)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity17

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://www.gravatar.com/avatar/6109ecdd6607e0eec043d8adf1951cf700c0b030ab2fe3fff4525d961b6a50b7?d=identicon)[Jascha030](/maintainers/Jascha030)

---

Top Contributors

[![jascha030](https://avatars.githubusercontent.com/u/25476438?v=4)](https://github.com/jascha030 "jascha030 (63 commits)")

---

Tags

composerdatabasedoctrinephpsymfony

### Embed Badge

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

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

###  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.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M542](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M209](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

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

PHPackages © 2026

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