PHP code example of diskominfotik-banda-aceh / e-sign-bsre-laravel
1. Go to this page and download the library: Download diskominfotik-banda-aceh/e-sign-bsre-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/ */
diskominfotik-banda-aceh / e-sign-bsre-laravel example snippets
TTE_URL="esign.example.go.id"
TTE_USERNAME="username"
TTE_PASSWORD="password"
$esign = ESignBSrE::signInvisible($nik, $passphrase, $file, $filename);
$esign->getStatus(); //Get status response (int)
$esign->getErrors(); //Get error response
$esign->getData(); //Get data as blob pdf
$esign = ESignBSrE::signVerification($file, $fileName);
$esign->getStatus(); //Get status response (int)
$esign->getErrors(); //Get error response
$esign->getData(); //Get data as array (tergantung dari API BSrE)
//Soon