irfanmyj / api
Api Wrapping
v1.0.0
2021-02-13 19:09 UTC
Requires
- guzzlehttp/guzzle: ~6.0
README
Created because i don't really wanna get my hands dirty coz of using the old php-curl :shit: example.
Installation 🔥
composer require irfanmyj/api
Example Usage 🎊
//use your own bpjs config $conf = [ 'base_url' => 'https://namadomain.com', 'service_name' => 'api' ]; // use Referensi service $referensi = new Irfanmyj\Api\Classapi\Auth($vclaim_conf); var_dump($referensi->login(['username'=>'tes','password'=>'123']));