PHPackages                             rodion-arr/laravel-mysql-stored-procedures - 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. rodion-arr/laravel-mysql-stored-procedures

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

rodion-arr/laravel-mysql-stored-procedures
==========================================

A service for calling MySQL stored procedures with multiple data sets

v2.0.0(5y ago)2173MITPHPPHP ^7.3.0|^8.0.0CI failing

Since Jun 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rodion-arr/laravel-mysql-stored-procedures)[ Packagist](https://packagist.org/packages/rodion-arr/laravel-mysql-stored-procedures)[ RSS](/packages/rodion-arr-laravel-mysql-stored-procedures/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (6)Used By (0)

Laravel MySQL stored procedures
===============================

[](#laravel-mysql-stored-procedures)

[![PHP Composer](https://github.com/rodion-arr/laravel-mysql-stored-procedures/workflows/PHP%20Composer/badge.svg)](https://github.com/rodion-arr/laravel-mysql-stored-procedures/workflows/PHP%20Composer/badge.svg) [![codecov](https://camo.githubusercontent.com/f978f61aa53abe24a64aa538162c4c8fb9c35849ef7f5d9b725cdaabf5667703/68747470733a2f2f636f6465636f762e696f2f67682f726f64696f6e2d6172722f6c61726176656c2d6d7973716c2d73746f7265642d70726f636564757265732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/rodion-arr/laravel-mysql-stored-procedures) [![Latest Stable Version](https://camo.githubusercontent.com/6f7cf8983e496d641fdb94e964f082f942011e749c6fc61ed257a9d4408b4f9b/68747470733a2f2f706f7365722e707567782e6f72672f726f64696f6e2d6172722f6c61726176656c2d6d7973716c2d73746f7265642d70726f636564757265732f762f737461626c65)](https://packagist.org/packages/rodion-arr/laravel-mysql-stored-procedures) [![License](https://camo.githubusercontent.com/9414ece55b37a0c6316a596bc34c4cc24d449f6804d911e779cc2ee43d95eba3/68747470733a2f2f706f7365722e707567782e6f72672f726f64696f6e2d6172722f6c61726176656c2d6d7973716c2d73746f7265642d70726f636564757265732f6c6963656e7365)](https://packagist.org/packages/rodion-arr/laravel-mysql-stored-procedures)

Motivation
----------

[](#motivation)

Laravel's `DB` facade does not support calling stored procedures that returns multiple data sets in result out of the box. This package provides a simple service for calling and retrieving MySQL stored procedures by name and getting all its returned datasets back.

Based on [@tommyready's](https://github.com/tommyready) [`PDOService`](https://gist.github.com/tommyready/2803f4d7ae7522f707bd090c03bd1c6b) class. Refactored, covered with unit tests and issued as Composer package from my side.

Installation
============

[](#installation)

`composer require rodion-arr/laravel-mysql-stored-procedures`

Usage
=====

[](#usage)

```
require_once __DIR__.'/vendor/autoload.php'; // Autoload files using Composer

use RodionARR\PDOService;
use Illuminate\Support\Facades\App;

/**
@var PDOService $service
*/
$service = App::make(PDOService::class);
$multipleRowsets = $service->callStoredProcedure('store_procedure_name', ['param1', 'param2', '....']);

dd($multipleRowsets);
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 92.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 ~81 days

Total

5

Last Release

1838d ago

Major Versions

v1.0.3 → v2.0.02021-04-30

PHP version history (2 changes)v1.0.0PHP ^7.1.0

v2.0.0PHP ^7.3.0|^8.0.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5843270?v=4)[Rodion Abdurakhimov](/maintainers/rodion-arr)[@rodion-arr](https://github.com/rodion-arr)

---

Top Contributors

[![rodion-arr](https://avatars.githubusercontent.com/u/5843270?v=4)](https://github.com/rodion-arr "rodion-arr (13 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

laravelmysqlphpstored-proceduresphplaravelmysqlstored-proceduremultiple dataset

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rodion-arr-laravel-mysql-stored-procedures/health.svg)

```
[![Health](https://phpackages.com/badges/rodion-arr-laravel-mysql-stored-procedures/health.svg)](https://phpackages.com/packages/rodion-arr-laravel-mysql-stored-procedures)
```

###  Alternatives

[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k25.2M34](/packages/kirschbaum-development-eloquent-power-joins)[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591444.8k2](/packages/spiritix-lada-cache)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2031.2M2](/packages/glushkovds-phpclickhouse-laravel)[awssat/laravel-sync-migration

Laravel tool helps to sync migrations without refreshing the database

10923.2k](/packages/awssat-laravel-sync-migration)[sebastiaanluca/laravel-boolean-dates

Automatically convert Eloquent model boolean attributes to dates (and back).

40111.7k1](/packages/sebastiaanluca-laravel-boolean-dates)[chr15k/laravel-mysql-encrypt

Laravel database encryption using native MySQL functions

119.9k](/packages/chr15k-laravel-mysql-encrypt)

PHPackages © 2026

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