PHPackages                             firexsantos/esign-bsre-codeigniter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. firexsantos/esign-bsre-codeigniter

ActiveLibrary[API Development](/categories/api)

firexsantos/esign-bsre-codeigniter
==================================

Package E-Sign BSrE untuk memudahkan penggunaan E-Sign BSrE (Balai Sertifikasi Elektronik) API dari BSSN (Badan Sandi dan Siber Negara)

04PHP

Since Oct 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/firexsantos/esign-bsre-codeigniter)[ Packagist](https://packagist.org/packages/firexsantos/esign-bsre-codeigniter)[ RSS](/packages/firexsantos-esign-bsre-codeigniter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Table of contents
=================

[](#table-of-contents)

- [Table of contents](#table-of-contents)
- [E-Sign BSrE](#e-sign-bsre)
    - [Instalisasi](#instalisasi)
    - [Penggunaan](#penggunaan)
        - [Kode](#kode)
    - [Changelog](#changelog)
    - [Contributing](#contributing)
    - [Keamanan](#keamanan)
    - [Credits](#credits)
    - [License](#license)

E-Sign BSrE
===========

[](#e-sign-bsre)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cb9eb3b7378a125cf9bef5bfcf6878af8a86700f03f4961eaa41647771351a97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6469736b6f6d696e666f74696b2d62616e64612d616365682f652d7369676e2d627372652d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/firexsantos/esign-bsre-codeigniter)[![Total Downloads](https://camo.githubusercontent.com/ac409eeca4b5015d8729e43adcdcae9be51803f4661d687dcb85a0eae20795f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6469736b6f6d696e666f74696b2d62616e64612d616365682f652d7369676e2d627372652d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/firexsantos/esign-bsre-codeigniter)

[E-Sign BSrE](https://bsre.bssn.go.id/) adalah package untuk memudahkan penggunaan API E-Sign dari BSSN dengan bahasa PHP

Instalisasi
-----------

[](#instalisasi)

Anda bisa install package via composer:

```
composer require firexsantos/esign-bsre-codeigniter
```

Jika Anda menggunakan PHP Native tambahkan baris berikut:

```
require 'vendor/autoload.php';
```

Penggunaan
----------

[](#penggunaan)

### Kode

[](#kode)

Kode yang disediakan ada beberapa yaitu tanda tangan digital invisible, verifikasi tanda tangan digital dan tanda tangan visible (soon)

- Tanda tangan digital invisible

```
$esign = new FirmanSantosa\ESignBsreCodeIgniter\ESignBSrE($baseUrl, $username, $password);
$response = $esign->setFile($file, $filename)->sign($nik, $passphrase);
$response->getStatus(); //Get status response (int) - 404, 200 etc
$response->getErrors(); //Get error response
$response->getData(); //Get data as blob pdf
```

- Verifikasi tanda tangan digital

```
$esign = new FirmanSantosa\ESignBsreCodeIgniter\ESignBSrE($baseUrl, $username, $password);
$response = $esign->setFile($file, $filename)->verification();
$response->getStatus(); //Get status response (int)
$response->getErrors(); //Get error response
$response->getData(); //Get data as array (tergantung dari API BSrE)
```

### Contoh kode mengambil file

[](#contoh-kode-mengambil-file)

Terdapat beberapa cara untuk mengambil file yang terdapat pada aplikasi

- Menggunakan Utils dari GuzzleHttp

```
$file = GuzzleHttp\Psr7\Utils::tryFopen('/path/to/file.pdf', 'r')
```

- Menggunakan `file_get_contents`

```
$file = file_get_contents('/path/to/file.pdf')
```

### Changelog

[](#changelog)

Lihat [CHANGELOG](CHANGELOG.md) untuk informasi lebih lanjut terkait perubahan terbaru.

Contributing
------------

[](#contributing)

Lihat [CONTRIBUTING](CONTRIBUTING.md) untuk lebih detailnya.

### Keamanan

[](#keamanan)

Jika anda menemukan masalah kerentanan keamanan pada package, tolong email ke diskominfotikbna\[at\]gmail.com

Credits
-------

[](#credits)

- [Firman Santosa](https://github.com/firexsantos)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ffb8be955c513209585bd6ff7f46ec4b965b390d9fea1cf4b05d7cfe82650e85?d=identicon)[firexsantos](/maintainers/firexsantos)

---

Top Contributors

[![firexsantos](https://avatars.githubusercontent.com/u/32186260?v=4)](https://github.com/firexsantos "firexsantos (4 commits)")

### Embed Badge

![Health badge](/badges/firexsantos-esign-bsre-codeigniter/health.svg)

```
[![Health](https://phpackages.com/badges/firexsantos-esign-bsre-codeigniter/health.svg)](https://phpackages.com/packages/firexsantos-esign-bsre-codeigniter)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M477](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
