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

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

samy/database
=============

This is a lean, consistent, and simple way to access databases.

3.1.2(2y ago)03773MITPHP &gt;=8.1

Since May 17Compare

[ Source](https://gitlab.com/monstm/php-database)[ Packagist](https://packagist.org/packages/samy/database)[ Docs](https://monstm.gitlab.io/php-database/)[ RSS](/packages/samy-database/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (4)Versions (39)Used By (3)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://gitlab.com/monstm/php-database).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

Established project with proven stability

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 ~22 days

Recently: every ~34 days

Total

38

Last Release

1009d ago

Major Versions

v1.4.1 → v2.0.02022-06-11

v2.1.7 → 3.0.02023-03-28

PHP version history (2 changes)v1.0.0PHP &gt;=7.4

v2.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1282106?v=4)[Samy Rabih](/maintainers/samy)[@samy](https://github.com/samy)

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

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

MongoDB driver library

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

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/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)
