PHPackages                             banguncode/php-icare - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. banguncode/php-icare

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

banguncode/php-icare
====================

A simple PHP library for accessing the healthcare history of JKN participants.

162PHP

Since Aug 14Pushed 9mo agoCompare

[ Source](https://github.com/banguncode/PHP-Icare)[ Packagist](https://packagist.org/packages/banguncode/php-icare)[ RSS](/packages/banguncode-php-icare/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Icare
=========

[](#php-icare)

A simple PHP library for accessing the healthcare history of **JKN (Jaminan Kesehatan Nasional)** participants via **BPJS Kesehatan Icare API**.
This library also supports fetching verification and approval data from the **Mobile Faskes** API.

---

Features
--------

[](#features)

- Access healthcare history of JKN participants by **NIK** or **BPJS Participant Number**.
- Automatic API signature generation (HMAC-SHA256).
- Response decryption using **AES-256-CBC** and **LZString** compression.
- Retrieve **verification** and **approval** status from Mobile Faskes.
- Retry mechanism for API responses with delay instructions.
- Simple logging example included.

---

Requirements
------------

[](#requirements)

- PHP &gt;= 5.5
- [Composer](https://getcomposer.org/)
- PHP extensions:
    - `ext-curl`
    - `ext-openssl`

---

Installation
------------

[](#installation)

Install via Composer:

```
composer require banguncode/php-icare
```

Usage Example
-------------

[](#usage-example)

```
