PHPackages                             jarivas/sql-models - 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. jarivas/sql-models

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

jarivas/sql-models
==================

A simple and light Multi Sql model factory

1.9.0(3mo ago)0532MITTSQL

Since Jul 26Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/jarivas/php-sql-models)[ Packagist](https://packagist.org/packages/jarivas/sql-models)[ RSS](/packages/jarivas-sql-models/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (16)Versions (35)Used By (2)

Description
===========

[](#description)

It is a tool to generate Models from differets kinds automatically, those models can CRUD by them selves, even supports relationships throught the method join

How to install
==============

[](#how-to-install)

composer require jarivas/sql-models

How to use
==========

[](#how-to-use)

Please check the tests code on tests/Unit

Tests
=====

[](#tests)

- Requires Docker
- ./vendor/bin/phpunit --testsuite Mysql --filter ModelTest
- ./vendor/bin/phpunit --testsuite Pgsql --filter ModelTest
- ./vendor/bin/phpunit --testsuite Sqlite --filter ModelTest
- ./vendor/bin/phpunit --testsuite Mssql --filter ModelTest

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance79

Regular maintenance activity

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

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

Recently: every ~0 days

Total

30

Last Release

112d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/993232a6d5ef5977556ddfaa67ea9510c39d36e3cb08ce2fc88bea4e29dcc3c8?d=identicon)[jarivas](/maintainers/jarivas)

---

Top Contributors

[![jarivas](https://avatars.githubusercontent.com/u/3421025?v=4)](https://github.com/jarivas "jarivas (39 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jarivas-sql-models/health.svg)

```
[![Health](https://phpackages.com/badges/jarivas-sql-models/health.svg)](https://phpackages.com/packages/jarivas-sql-models)
```

###  Alternatives

[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[cycle/database

DBAL, schema introspection, migration and pagination

71777.8k53](/packages/cycle-database)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.0M217](/packages/api-platform-metadata)

PHPackages © 2026

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