Wrapper for BPJS Indonesia

Maintainers

Details

github.com/trogalko/bpjs2

Source

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 3

Type:package

dev-master 2022-02-18 07:21 UTC

This package is auto-updated.

Last update: 2024-04-18 12:14:30 UTC


README

PHP package to access BPJS Kesehatan API 🚑. This package is a wrapper of BPJS VClaim Web Service https://dvlp.bpjs-kesehatan.go.id/VClaim-Katalog

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

Installation 🔥

composer require Nsulistiyawan_copy/bpjs

Example Usage 🎊

//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_copy\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_copy\Bpjs\VClaim\Peserta($vclaim_conf);
var_dump($peserta->getByNoKartu('123456789','2018-09-16'));

Supported Services (WIP) 🚀

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

Contributions 👌

Your contribution is always welcome!