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

ActivePackage[API Development](/categories/api)

mbahmario/bpjs
==============

Wrapper for BPJS Indonesia

V1.6.5(7mo ago)82174mitPHP

Since Mar 30Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/mbahmario/bpjs)[ Packagist](https://packagist.org/packages/mbahmario/bpjs)[ RSS](/packages/mbahmario-bpjs/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (2)Versions (14)Used By (0)

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

[](#bpjs-kesehatan-indonesia)

This Package clone from nsulistiyawan/bpjs under maintenance.

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

#### Installation 🔥

[](#installation-fire)

`composer require mbahmario/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 Mbahmario\Bpjs\VClaim\Referensi($vclaim_conf);
var_dump($referensi->diagnosa('A00'));

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

$peserta = new \Mbahmario\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

39

—

LowBetter than 84% of packages

Maintenance62

Regular maintenance activity

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~110 days

Recently: every ~181 days

Total

13

Last Release

234d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6448912?v=4)[RIO IRMAYANTO](/maintainers/mbahmario)[@mbahmario](https://github.com/mbahmario)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M984](/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)
