dptsi / laravel-esign-bsre
Laravel helper package for access ITS to Esign API from BSrE
Requires
- php: ^7.4|8.0.*|8.1.*|8.2.*
- ext-json: *
- guzzlehttp/guzzle: ^7.0.1
- laravel/framework: ^9.19
README
A helper package for access ITS file storage API in laravel framework
Requirements
- PHP 7.4 or greater
- Laravel version 8
Installation
Install using composer:
composer require dptsi/laravel-esign-bsre
Usage
@method static mixed cekStatusUser(string $nik)
@method static mixed sign(\Illuminate\Http\File|\Illuminate\Http\UploadedFile $file, string $nik, string $passphrase)
@method static mixed signVisibleWithSpesimen(\Illuminate\Http\File|\Illuminate\Http\UploadedFile $file, string $nik, string $passphrase, \Illuminate\Http\File|\Illuminate\Http\UploadedFile $image_ttd, int $page, int $x, int $y, int $width, int $height)
@method static mixed signVisibleWithQrCode(\Illuminate\Http\File|\Illuminate\Http\UploadedFile $file, string $nik, string $passphrase, string $link_qrcode, int $page, int $x, int $y, int $width, int $height)