Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 1.47 KB

README.md

File metadata and controls

65 lines (48 loc) · 1.47 KB

WSBPJS

INSTALLATION 🔥

composer require absystem/wsbpjs

REQUIREMENTS ⚠️

▪️ PHP >=5.6.
▪️ Composer.
▪️ Guzzle v6.x sudah include di package.

SETTING CONFIG HEADER REQUEST 🌐

 
//vclaim
$config = [
	'cons_id'      => '',
	'secret_key'   => '',
	'base_url'     => 'https://new-api.bpjs-kesehatan.go.id:8080',
	'service_name' => 'new-vclaim-rest'
];


//aplicaresws
$config = [
	'cons_id'      => '',
	'secret_key'   => '',
	'base_url'     => 'https://new-api.bpjs-kesehatan.go.id:8080',
	'service_name' => 'aplicaresws/rest'
];


//pcare
$config = [
	'cons_id'      => '',
	'secret_key'   => '',
	'base_url'     => 'https://dvlp.bpjs-kesehatan.go.id:9081',
	'service_name' => 'pcare-rest-v3.0',
	'pcare_user'   => '',
	'pcare_pass'   => '',
	'kd_aplikasi'  => ''
];

CONTOH PENGGUNAAN 💻

require_once __DIR__ . '/vendor/autoload.php';
$referensi = new \ABSystem\Bpjs\VClaim\Referensi($config);
var_dump($referensi->diagnosa('A00'));

🔗  REFERENSI REST 📘

▫️ vclaim & aplicaresws = https://dvlp.bpjs-kesehatan.go.id/VClaim-Katalog
▫️ pcare = https://dvlp.bpjs-kesehatan.go.id:9081/pcare-rest-v3.0/

🔗  BASED ON & CREDIT THANKS 👍

https://github.com/nsulistiyawan/bpjs