PHPackages                             agengdp/bpjs - 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. agengdp/bpjs

ActivePackage[API Development](/categories/api)

agengdp/bpjs
============

Wrapper for BPJS Indonesia

2.0(6y ago)022mitPHP

Since Sep 16Pushed 5y agoCompare

[ Source](https://github.com/agengdp/bpjs)[ Packagist](https://packagist.org/packages/agengdp/bpjs)[ RSS](/packages/agengdp-bpjs/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (8)Used By (0)

BPJS Kesehatan Indonesia
========================

[](#bpjs-kesehatan-indonesia)

PHP package to access BPJS Kesehatan API 🚑. This package is a wrapper of BPJS VClaim Web Service

Created because i don't really wanna get my hands dirty coz of using the old php-curl :shit: example.

#### Installation 🔥

[](#installation-fire)

`composer require nsulistiyawan/bpjs`

#### Example Usage 🎊

[](#example-usage-confetti_ball)

```
//use your own bpjs config
$vclaim_conf = [
    'cons_id' => '123456',
    'secret_key' => '123456',
    'base_url' => 'https://dvlp.bpjs-kesehatan.go.id',
    'service_name' => 'vclaim-rest'
];

// use Referensi service
// https://dvlp.bpjs-kesehatan.go.id/VClaim-Katalog/Referensi

$referensi = new Nsulistiyawan\Bpjs\VClaim\Referensi($vclaim_conf);
var_dump($referensi->diagnosa('A00'));

//use Peserta service
//https://dvlp.bpjs-kesehatan.go.id/VClaim-Katalog/Peserta

$peserta = new \Nsulistiyawan\Bpjs\VClaim\Peserta($vclaim_conf);
var_dump($peserta->getByNoKartu('123456789','2018-09-16'));
```

#### Supported Services (WIP) 🚀

[](#supported-services-wip-rocket)

- Referensi
- Peserta
- SEP
- Rujukan
- Lembar Pengajuan Klaim
- Monitoring
- Aplicare

#### Contributions 👌

[](#contributions-ok_hand)

Your contribution is always welcome!

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 51.5% 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.

###  Release Activity

Cadence

Every ~91 days

Recently: every ~132 days

Total

7

Last Release

2248d ago

Major Versions

1.2.2 → 2.02020-03-19

### Community

Maintainers

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

---

Top Contributors

[![nsulistiyawan](https://avatars.githubusercontent.com/u/2977213?v=4)](https://github.com/nsulistiyawan "nsulistiyawan (17 commits)")[![agengdp](https://avatars.githubusercontent.com/u/16035097?v=4)](https://github.com/agengdp "agengdp (13 commits)")[![setbass](https://avatars.githubusercontent.com/u/15572260?v=4)](https://github.com/setbass "setbass (2 commits)")[![juliardi](https://avatars.githubusercontent.com/u/4223302?v=4)](https://github.com/juliardi "juliardi (1 commits)")

### Embed Badge

![Health badge](/badges/agengdp-bpjs/health.svg)

```
[![Health](https://phpackages.com/badges/agengdp-bpjs/health.svg)](https://phpackages.com/packages/agengdp-bpjs)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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