PHPackages                             fanatov37/spav - 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. fanatov37/spav

ActiveLibrary

fanatov37/spav
==============

Stored Programs and Views in MySql for ZF2 or ZF3

0.1.2(9y ago)1241GNUPHPPHP ~7

Since Jan 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/fanatov37/spav)[ Packagist](https://packagist.org/packages/fanatov37/spav)[ RSS](/packages/fanatov37-spav/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)DependenciesVersions (8)Used By (0)

SPAV (Stored Programs and views) library.
=========================================

[](#spav-stored-programs-and-views-library)

About library and Recommendation:
---------------------------------

[](#about-library-and-recommendation)

This is library wrapper for use Procedure, Function or View in MySql.

My recommendation is use business logic of data base in Stored Programs. Your **MySql user** must have privileges only for Stored Programs and Views. **Full privileges** is available only for **root** user.

[MySql Privileges](https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html)

Tips and Tricks:
----------------

[](#tips-and-tricks)

- Currently this library available for **zend framework 2 or 3** with **MySql**
- You must use **php7**
- You should use **MySql5.7** because Stored Programs must return result as **json** (5.7 version available for json function). But you can use previous versions of MySql, just return string as json(use **concat** function for it).

Using:
------

[](#using)

Check out PHPUnit test(folder **tests**). You can find example of use Stored Programs (**/tests/EntityExample/**) or check out this repository [Spav Zend Framework example](https://github.com/fanatov37/zf3).

\##Installation

Using Composer

```
composer require fanatov37/spav
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Total

3

Last Release

3364d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/94fd61cf87803fe0dcec025072b71e7f0894cb2f6e40e6e39858f789caca6078?d=identicon)[fanatov37](/maintainers/fanatov37)

---

Top Contributors

[![fanatov37](https://avatars.githubusercontent.com/u/18050298?v=4)](https://github.com/fanatov37 "fanatov37 (26 commits)")

---

Tags

spavprocedure mysqlfunction mysqlview mysqlstored programs and views

### Embed Badge

![Health badge](/badges/fanatov37-spav/health.svg)

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

PHPackages © 2026

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