PHP code example of rodion-arr / laravel-mysql-stored-procedures
1. Go to this page and download the library: Download rodion-arr/laravel-mysql-stored-procedures library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rodion-arr / laravel-mysql-stored-procedures example snippets
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);