PHPackages                             leedch/resource-mysql - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. leedch/resource-mysql

ActiveLibrary[Testing &amp; Quality](/categories/testing)

leedch/resource-mysql
=====================

DB Abstract to bind model classes to MySQL Tables

1.1.2(6mo ago)02412MITPHPPHP ~8.4

Since Dec 30Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/leedave/resource-mysql)[ Packagist](https://packagist.org/packages/leedch/resource-mysql)[ Docs](https://github.com/leedave/resource-mysql.git)[ RSS](/packages/leedch-resource-mysql/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (21)Used By (2)

Resource MySQL
==============

[](#resource-mysql)

Connecting to a DB Table is complicated. I prefer being lazy.

This Component connects classes with DB Tables If you make an object from your class, you can fill it with data from one table row. You can save, update, delete without ever using SQL syntax. Yes this is a DB Abstract Layer.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance72

Regular maintenance activity

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

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

Recently: every ~143 days

Total

20

Last Release

187d ago

PHP version history (6 changes)1.0.0PHP ~7.0|~7.1

1.0.3PHP ~7.2|~7.3|~7.4

1.0.10PHP ~7.2|~7.3|~7.4|~8.0

1.0.13PHP ~7.2|~7.3|~7.4|~8.0|~8.1

1.0.16PHP ~8.0|~8.1|~8.2

1.1.0PHP ~8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/daab7e66cb2fe8cd0c4e5a883c3c54688194f3596c4c7cc6e88b4b86c8fb427d?d=identicon)[leedch](/maintainers/leedch)

---

Top Contributors

[![leedave](https://avatars.githubusercontent.com/u/5908330?v=4)](https://github.com/leedave "leedave (5 commits)")

---

Tags

phpunitdatabasemysqlmodelabstractleedch

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/leedch-resource-mysql/health.svg)

```
[![Health](https://phpackages.com/badges/leedch-resource-mysql/health.svg)](https://phpackages.com/packages/leedch-resource-mysql)
```

###  Alternatives

[chriskite/phactory

A Database Factory for PHP Unit Tests

140216.9k8](/packages/chriskite-phactory)[derptest/phpmachinist

Testing object factory for PHP

3636.9k1](/packages/derptest-phpmachinist)[phpmachinist/phpmachinist

Testing object factory for PHP

3630.7k](/packages/phpmachinist-phpmachinist)[code-distortion/adapt

A Laravel package that builds databases for your tests, improving their speed.

2835.5k](/packages/code-distortion-adapt)[erikgall/eloquent-phpunit

Test Eloquent models, database schemas &amp; tables, relationships/foreign keys using PHPUnit.

2016.5k](/packages/erikgall-eloquent-phpunit)

PHPackages © 2026

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