PHPackages                             setbased/php-stratum - 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. setbased/php-stratum

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

setbased/php-stratum
====================

PhpStratum: A stored procedure and function loader and wrapper generator for various RDBMS

6.5.1(11mo ago)115.8k415MITPHPPHP &gt;=8.3CI passing

Since Aug 19Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/DatabaseStratum/php-stratum-cli)[ Packagist](https://packagist.org/packages/setbased/php-stratum)[ RSS](/packages/setbased-php-stratum/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (16)Used By (15)

PhpStratum: Command Line Interface
==================================

[](#phpstratum-command-line-interface)

The frontend of PhpStratum.

SocialLegalReleaseTests[![Gitter](https://camo.githubusercontent.com/294d0fcc6e166756ec8f1f9f27ad75f2f209db4235122302148781f622eb76d9/68747470733a2f2f6261646765732e6769747465722e696d2f53657442617365642f7068702d7374726174756d2e737667)](https://gitter.im/SetBased/php-stratum?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)[![License](https://camo.githubusercontent.com/0d86b578f24ecefce4a699ecbf84bb378157e09b1b9bf22fe6e4bbf91fbc9ba9/68747470733a2f2f706f7365722e707567782e6f72672f73657462617365642f7068702d7374726174756d2f6c6963656e7365)](https://packagist.org/packages/setbased/php-stratum)[![Latest Stable Version](https://camo.githubusercontent.com/048505b59460ff3c06f646b126d81958fe5849474d66cb7f4dcca2a129cfc1f6/68747470733a2f2f706f7365722e707567782e6f72672f73657462617365642f7068702d7374726174756d2f762f737461626c65)](https://packagist.org/packages/setbased/php-stratum)
[![Build Status](https://github.com/DatabaseStratum/php-stratum-cli/actions/workflows/unit.yml/badge.svg)](https://github.com/DatabaseStratum/php-stratum-cli/actions/workflows/unit.yml)
[![Code Coverage](https://camo.githubusercontent.com/b57f52ad288ccf0a419d257d9f8617ee46f8c5eae8f72a567f939faf2f5b0896/68747470733a2f2f636f6465636f762e696f2f67682f44617461626173655374726174756d2f7068702d7374726174756d2d636c692f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/DatabaseStratum/php-stratum-cli)PhpStratum is a set of PHP packages for loading stored procedures into your application's database and invoking those stored procedures conveniently from your application using an automatically generated wrapper class. PhpStratum is available for the following database management systems:

- [MySQL and MariaDB](https://github.com/DatabaseStratum/php-stratum-mysql)
- [SQLite](https://github.com/DatabaseStratum/php-stratum-sqlite-pdo)

Documentation
=============

[](#documentation)

The documentation of PhpStratum is available at [phpstratum.readthedocs.io](https://phpstratum.readthedocs.io).

License
=======

[](#license)

This project is licensed under the terms of the MIT license.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance51

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 78.9% 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 ~151 days

Recently: every ~216 days

Total

15

Last Release

344d ago

Major Versions

4.0.1 → 5.0.02019-09-26

5.4.0 → 6.0.02020-04-09

PHP version history (5 changes)4.0.0PHP &gt;=7.1.0

5.4.0PHP &gt;=7.3

6.1.0PHP &gt;=7.4

6.3.0PHP &gt;=8.1

6.4.0PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/67edc824131704a5270570c8bba7fc52986f3e70a0389aca6b13ea87ca4d9710?d=identicon)[Paul Water](/maintainers/Paul%20Water)

---

Top Contributors

[![prwater](https://avatars.githubusercontent.com/u/17372665?v=4)](https://github.com/prwater "prwater (504 commits)")[![zuban-vo](https://avatars.githubusercontent.com/u/10350442?v=4)](https://github.com/zuban-vo "zuban-vo (93 commits)")[![DmitriyNagorniy](https://avatars.githubusercontent.com/u/49651476?v=4)](https://github.com/DmitriyNagorniy "DmitriyNagorniy (41 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

php-stratumstored-procedurestored-procedureswrapperloaderwrapperPhpStratumstored functionsstored proceduresStored Routines

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/setbased-php-stratum/health.svg)

```
[![Health](https://phpackages.com/badges/setbased-php-stratum/health.svg)](https://phpackages.com/packages/setbased-php-stratum)
```

###  Alternatives

[h4cc/alice-fixtures-bundle

Symfony2 Bundle for loading fixture data with the Alice library.

76314.2k7](/packages/h4cc-alice-fixtures-bundle)[stefangabos/zebra_database

An advanced, compact and lightweight MySQL database wrapper library, built around PHP's MySQLi extension.

11812.0k](/packages/stefangabos-zebra-database)[tomatophp/filament-translations

Manage your translation with DB and cache, you can scan your languages tags like trans(), \_\_(), and get the string inside and translate them use UI.

6230.1k3](/packages/tomatophp-filament-translations)[adamb/database

A simple PDO Wrapper to connect to a database

187.6k20](/packages/adamb-database)

PHPackages © 2026

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