PHP code example of reportei / gerencianet-sdk-php-fork
1. Go to this page and download the library: Download reportei/gerencianet-sdk-php-fork 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/ */
reportei / gerencianet-sdk-php-fork example snippets
use Gerencianet\Gerencianet;
try {
/* code */
} catch(GerencianetException $e) {
/* Gerencianet's api errors will come here */
} catch(Exception $ex) {
/* Other errors will come here */
}