A PHP library which implement the complete functionality of Raja Ongkir API.
Courier services : jne
, pos
, tiki
, esl
, pcp
, rpx
, cahaya
, dse
, first
, indah
, jet
, jnt
, nss
, ncs
, pahala
, pandu
, sap
, sicepat
, slis
, star
, wahana
.
Using composer.
$ composer require ncaneldiee/rajaongkir
use Ncaneldiee\Rajaongkir;
$rajaongkir = new Rajaongkir\Domestic(YOUR_API_KEY);
$rajaongkir->cost($origin, $destination, $weight, $courier);
$rajaongkir->waybill($tracking_number, $courier);
Full documentation can be found at the wiki.
The MIT License (MIT). Please see LICENSE for more information.