PHP code example of puyu-pe / sipro-internal-api-laravel
1. Go to this page and download the library: Download puyu-pe/sipro-internal-api-laravel 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/ */
puyu-pe / sipro-internal-api-laravel example snippets
'keys' => ['sipro-current' => env('SIPRO_INTERNAL_API_HMAC_SECRET')],
use PuyuPe\SiproInternalApiCore\Errors\ErrorFactory;
use PuyuPe\SiproInternalApiCore\Errors\InternalApiException;
throw new InternalApiException(ErrorFactory::tenantNotFound($resolveKey));