PHPackages                             codemonster-ru/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. codemonster-ru/database

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

codemonster-ru/database
=======================

Lightweight, framework-agnostic database layer with PDO connections, fluent Query Builder, Schema Builder, and full migration system.

v2.1.0(3w ago)02255MITPHPPHP &gt;=8.2CI passing

Since Dec 7Pushed 1mo agoCompare

[ Source](https://github.com/codemonster-ru/database)[ Packagist](https://packagist.org/packages/codemonster-ru/database)[ Docs](https://github.com/codemonster-ru/database)[ RSS](/packages/codemonster-ru-database/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (3)Versions (11)Used By (5)

codemonster-ru/database
=======================

[](#codemonster-rudatabase)

Important

This repository is read-only.

Development happens in the [Annabel monorepo](https://github.com/codemonster-ru/annabel).

Issues and pull requests should be opened there.

[![Latest Version on Packagist](https://camo.githubusercontent.com/4baec3d7303e17f3bc7191880f62aea5acee51b211146e4e34c012dd0017b972/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656d6f6e737465722d72752f64617461626173652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonster-ru/database)[![Total Downloads](https://camo.githubusercontent.com/e47896b5591a1643ce23051f450e13cfff04539d443745783b43004e3731f4a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656d6f6e737465722d72752f64617461626173652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonster-ru/database)[![License](https://camo.githubusercontent.com/e1b9cee2ee32da9e5aa0bd30052c217bcd79bc95832b532ea9088ef03a75c970/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f64656d6f6e737465722d72752f64617461626173652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonster-ru/database)

Framework-agnostic database layer with PDO connections, a fluent query builder, schema builder, migrations, seeders, and models.

Documentation
-------------

[](#documentation)

Standalone package documentation: [docs.codemonster.net/database](https://docs.codemonster.net/database/)

Annabel framework documentation: [docs.codemonster.net/annabel](https://docs.codemonster.net/annabel/)

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance94

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Every ~20 days

Recently: every ~45 days

Total

10

Last Release

24d ago

Major Versions

v1.6.0 → v2.0.02025-12-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33142935?v=4)[Kirill Kolesnikov](/maintainers/KolesnikovKirill)[@KolesnikovKirill](https://github.com/KolesnikovKirill)

---

Top Contributors

[![KolesnikovKirill](https://avatars.githubusercontent.com/u/33142935?v=4)](https://github.com/KolesnikovKirill "KolesnikovKirill (2 commits)")

---

Tags

annabelcodemonsterdatabasedb-layerlightweightmonorepo-splitmysqlpdophp-databasequeryquery-builderread-onlysqlschemadatabasemysqlsqlpdoquerymigrationsquery builderframework agnosticphp-databaseDB layerdatabase-managercodemonstermigration-runnerorm-like

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4883.1M39](/packages/aura-sqlquery)[tommyknocker/pdo-database-class

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.

846.1k](/packages/tommyknocker-pdo-database-class)[opis/database

A database abstraction layer over PDO, that provides a powerful and intuitive query builder, bundled with an easy to use schema builder

10085.4k3](/packages/opis-database)[aura/sqlschema

Provides facilities to read table names and table columns from a database using PDO.

44243.2k4](/packages/aura-sqlschema)

PHPackages © 2026

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