2017 © Pedro Peláez
 

library rajaongkir

Laravel + rajaongkir API.

image

bcscoder/rajaongkir

Laravel + rajaongkir API.

  • Wednesday, December 9, 2015
  • by yusida
  • Repository
  • 2 Watchers
  • 1 Stars
  • 71 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 1 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

rajaongkir

Laravel + Rajaongkir API, (*1)

Intallation

via composer, (*2)

"require-dev": {
    "bcscoder/rajaongkir": "dev-master"
}

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array., (*3)

'Bcscoder\Rajaongkir\RajaongkirServiceProvider', (*4)

After that add new item to alias array in app.php, (*5)

'RajaOngkir' => 'Bcscoder\Rajaongkir\Facades\Profiler',, (*6)

Example to use

Get City

$rs = RajaOngkir::getCity();

//that will show all the city

Get Cost

//$weight in gram

$results = RajaOngkir::getCost($origin_city_id,$destination_city_id,$weight,$courier);

tips

You can cache the get city result so it should not make request to server every time you want get the cost from your courier, (*7)

For more api documentation please Visit rajaongkir, (*8)

The Versions

09/12 2015

dev-master

9999999-dev

Laravel + rajaongkir API.

  Sources   Download

BSD-2-Clause

The Requires

 

by bcscoder

09/12 2015

0.3

0.3.0.0

Laravel + rajaongkir API.

  Sources   Download

BSD-2-Clause

The Requires

 

by bcscoder

26/12 2014

4.2.x-dev

4.2.9999999.9999999-dev

Laravel + rajaongkir API.

  Sources   Download

BSD-2-Clause

The Requires

 

by bcscoder

26/12 2014

0.2

0.2.0.0

Laravel + rajaongkir API.

  Sources   Download

BSD-2-Clause

The Requires

 

by bcscoder

20/08 2014

0.1

0.1.0.0

Laravel + rajaongkir API.

  Sources   Download

BSD-2-Clause

The Requires

 

by bcscoder