PHP Classes

Lightweight MVC MySQL SP Class: Call MySQL stored procedures

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 543 All time: 5,552 This week: 185Up
Version License PHP version Categories
lightweight-model 1.0.0GNU General Publi...5.2PHP 5, Databases, Libraries


This class can call MySQL stored procedures.

It is a model class for the Lightweight MVC framework that can connect to a MySQL database and call given stored procedures.

The stored procedure parameters are taken from an array passed as argument that may define whether the parameters are to be passed by value or define return values.

If there are return values, the class can also retrieve those return values as a separate result set.

Picture of Martin Barker
  Performance   Level  
Name: Martin Barker <contact>
Classes: 14 packages by
Country: United Kingdom
Age: 34
All time rank: 29514 in United Kingdom
Week rank: 524 Down18 in United Kingdom Down
Innovation award
Innovation award
Nominee: 2x


What is the best PHP mysql stored procedure class?
Using stored procedures in MySQL application with PHP

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example demo script
Plain text file mysql.php Class goes in the models folder and allows use of Stored Procs
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
lightweight MVC Download .zip .tar.gz this class is built to use Lightweight MVC Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,552
This week:185Up
 User Ratings  
 All time