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 6y agoCompare

[ Source](https://github.com/agengdp/bpjs)[ Packagist](https://packagist.org/packages/agengdp/bpjs)[ RSS](/packages/agengdp-bpjs/feed)WikiDiscussions master Synced 3w 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 52% 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

2298d ago

Major Versions

1.2.2 → 2.02020-03-19

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16035097?v=4)[Ageng D. Prastyawan](/maintainers/agengdp)[@agengdp](https://github.com/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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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