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

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

nsulistiyawan/bpjs
==================

Wrapper for BPJS Indonesia

1.2.2(7y ago)425.2k47[2 issues](https://github.com/nsulistiyawan/bpjs/issues)[2 PRs](https://github.com/nsulistiyawan/bpjs/pulls)mitPHP

Since Sep 16Pushed 5y ago4 watchersCompare

[ Source](https://github.com/nsulistiyawan/bpjs)[ Packagist](https://packagist.org/packages/nsulistiyawan/bpjs)[ RSS](/packages/nsulistiyawan-bpjs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (7)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

37

—

LowBetter than 82% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~6 days

Total

6

Last Release

2763d ago

### Community

Maintainers

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

---

Top Contributors

[![nsulistiyawan](https://avatars.githubusercontent.com/u/2977213?v=4)](https://github.com/nsulistiyawan "nsulistiyawan (18 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/nsulistiyawan-bpjs/health.svg)

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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