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

ActiveLibrary[API Development](/categories/api)

aamdsam/bridging-bpjs
=====================

Package untuk bridging bpjs vclaim, apcare dan pcare

1.12(1y ago)491.3k23[2 issues](https://github.com/aamdsam/bridging-bpjs/issues)[1 PRs](https://github.com/aamdsam/bridging-bpjs/pulls)MITPHP

Since Mar 12Pushed 1y ago2 watchersCompare

[ Source](https://github.com/aamdsam/bridging-bpjs)[ Packagist](https://packagist.org/packages/aamdsam/bridging-bpjs)[ RSS](/packages/aamdsam-bridging-bpjs/feed)WikiDiscussions dev Synced 3w ago

READMEChangelog (3)Dependencies (1)Versions (16)Used By (0)

BPJS Bridging Vclaim, APlicare &amp; Pcare for Laravel
======================================================

[](#bpjs-bridging-vclaim-aplicare--pcare-for-laravel)

Bridging VClaim

### Installation

[](#installation)

```
composer require aamdsam/bridging-bpjs
```

### use for VCLAIM

[](#use-for-vclaim)

add to `.env` file

```
BPJS_CONSID="2112121"
BPJS_SCREET_KEY="121212121"
BPJS_BASE_URL="https://new-api.bpjs-kesehatan.go.id:8080"
BPJS_SERVICE_NAME="new-vclaim-rest"

use AamDsam\Bpjs\VClaim;

function vclaim_conf(){
    $config = [
        'cons_id' => env('BPJS_CONSID'),
        'secret_key' => env('BPJS_SCREET_KEY'),
        'base_url' => env('BPJS_BASE_URL'),
        'service_name' => env('BPJS_SERVICE_NAME'),
    ];
    return $config;
}

$referensi = new VClaim\Referensi($this->vclaim_conf());
return response($referensi->propinsi());

```

### use for PCare

[](#use-for-pcare)

add to `.env` file

```
BPJS_PCARE_CONSID="2112121"
BPJS_PCARE_SCREET_KEY="121212121"
BPJS_PCARE_USERNAME="username"
BPJS_PCARE_PASSWORD="password"
BPJS_PCARE_APP_CODE="095"
BPJS_PCARE_BASE_URL="https://dvlp.bpjs-kesehatan.go.id:9081"
BPJS_PCARE_SERVICE_NAME="pcare-rest-v3.0"

use AamDsam\Bpjs\PCare;

function pcare_conf(){
    $config = [
            'cons_id'      => env('BPJS_PCARE_CONSID'),
            'secret_key'   => env('BPJS_PCARE_SCREET_KEY'),
            'username'     => env('BPJS_PCARE_USERNAME'),
            'password'     => env('BPJS_PCARE_PASSWORD'),
            'app_code'     => env('BPJS_PCARE_APP_CODE'),
            'base_url'     => env('BPJS_PCARE_BASE_URL'),
            'service_name' => env('BPJS_PCARE_SERVICE_NAME'),
    ];
    return $config;
}

//diagnosa
$bpjs = new PCare\Diagnosa($this->pcare_conf());
return $bpjs->keyword('001')->index(0, 2);

// dokter
$bpjs = new PCare\Dokter($this->pcare_conf());
return $bpjs->index($start, $limit);

// kesadaran
$bpjs = new PCare\Kesadaran($this->pcare_conf());
return $bpjs->index();

// kunjungan rujukan
$bpjs = new PCare\Kunjungan($this->pcare_conf());
return $bpjs->rujukan($nomorKunjungan)->index();
// kunjungan riwayat

$bpjs = new PCare\Kunjungan($this->pcare_conf());
return $bpjs->riwayat($nomorKartu)->index();

// mcu
$bpjs = new PCare\Mcu($this->pcare_conf());
return $bpjs->kunjungan($nomorKunjungan)->index();

// obat dpho
$bpjs = new PCare\Obat($this->pcare_conf());
return $bpjs->dpho($keyword)->index($start, $limit);

// obat kunjungan
$bpjs = new PCare\Obat($this->pcare_conf());
return $bpjs->kunjungan($nomorKunjungan)->index();

// pendaftaran tanggal daftar
$bpjs = new PCare\Pendaftaran($this->pcare_conf());
return $bpjs->tanggalDaftar($tglDaftar)->index($start, $limit);

// pendaftaran nomor urut
$bpjs = new PCare\Diagnosa($this->pcare_conf());
return $bpjs->nomorUrut($nomorUrut)->tanggalDaftar($tanggalDaftar)->index();

// peserta
$bpjs = new PCare\Peserta($this->pcare_conf());
return $bpjs->keyword($keyword)->show();

// peserta jenis kartu [NIK/NOKA]
$bpjs = new PCare\Peserta($this->pcare_conf());
return $bpjs->jenisKartu($jenisKartu)->keyword($keyword)->show();

// poli
$bpjs = new PCare\Poli($this->pcare_conf());
return $bpjs->fktp()->index($start, $limit);

// provider
$bpjs = new PCare\provider($this->pcare_conf());
return $bpjs->index($start, $limit);

// tindakan kode tkp
$bpjs = new PCare\Tindakan($this->pcare_conf());
return $bpjs->kodeTkp($keyword)->index($start, $limit);

// tindakan kunjungan
$bpjs = new PCare\Tindakan($this->pcare_conf());
return $bpjs->kunjungan($nomorKunjungan)->index();

// kelompok club
$bpjs = new PCare\Kelompok($this->pcare_conf());
return $bpjs->club($kodeJenisKelompok)->index();

// kelompok kegiatan
$bpjs = new PCare\Kelompok($this->pcare_conf());
return $bpjs->kegiatan($bulan)->index();

// kelompok peserta
$bpjs = new PCare\Kelompok($this->pcare_conf());
return $bpjs->peserta($eduId)->index();

// spesialis
$bpjs = new PCare\Spesialis($this->pcare_conf());
return $bpjs->index();

// spesialis sub spesialis
$bpjs = new PCare\Spesialis($this->pcare_conf());
return $bpjs->keyword($keyword)->subSpesialis()->index();

// spesialis sarana
$bpjs = new PCare\Spesialis($this->pcare_conf());
return $bpjs->sarana()->index();

// spesialis khusus
$bpjs = new PCare\Spesialis($this->pcare_conf());
return $bpjs->khusus()->index();

// spesialis rujuk
$bpjs = new PCare\Spesialis($this->pcare_conf());
return $bpjs->rujuk()->subSpesialis($kodeSubSpesialis)->sarana($kodeSarana)->tanggalRujuk($tanggalRujuk)->index();

// spesialis rujuk
$bpjs = new PCare\Spesialis($this->pcare_conf());
return $bpjs->rujuk()->khusus($kodeKhusus)->nomorKartu($nomorKartu)->tanggalRujuk($tanggalRujuk)->index();

// spesialis rujuk
$bpjs = new PCare\Spesialis($this->pcare_conf());
return $bpjs->rujuk()->khusus($kodeKhusus)->subSpesialis($kodeSubSpesialis)->nomorKartu($nomorKartu)->tanggalRujuk($tanggalRujuk)->index();
```

Katalog BPJS:

- Vclaim V1.1:
- Pcare V3:

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance41

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 91.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 ~121 days

Recently: every ~224 days

Total

13

Last Release

474d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9145973?v=4)[Muhammad Muammar](/maintainers/aamdsam)[@aamdsam](https://github.com/aamdsam)

---

Top Contributors

[![aamdsam](https://avatars.githubusercontent.com/u/9145973?v=4)](https://github.com/aamdsam "aamdsam (22 commits)")[![abela-a](https://avatars.githubusercontent.com/u/42704620?v=4)](https://github.com/abela-a "abela-a (2 commits)")

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/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.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

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

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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