Laravel-4-TIKI [http://www.tiki-online.com]
Laravel 4 ongkir tiki, curl based, (*1)
add this line to your composer.json, (*2)
"totox777/tiki": "dev-master"
and then, Run :, (*3)
composer update
to pull down the latest version., (*4)
add this line to your app.php provider array:, (*5)
'Totox777\Tiki\TikiServiceProvider',
and add this line to app.php aliases array:, (*6)
'Tiki' => 'Totox777\Tiki\Facades\Profiler',
Sample Usage:, (*7)
$xxx = Tiki::getCost("denpasar", "bandung",1);
if($xxx!=null){
foreach ($xxx as $hasil)
{
echo 'Layanan: ' . $hasil['layanan'] . ', dengan harga : Rp. ' . $hasil['harga'] . ',- <br />';
}
}
else{
echo "Tidak ditemukan jalur pengiriman, silahkan coba kota terdekat";
}