2017 © Pedro Peláez
 

library laravel-rajaongkir

This is a particular package that make Rajaongkir.com can be used in Laravel 5

image

gufy/laravel-rajaongkir

This is a particular package that make Rajaongkir.com can be used in Laravel 5

  • Sunday, July 3, 2016
  • by mgufron
  • Repository
  • 1 Watchers
  • 1 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

Rajaongkir.com API for Laravel

This is a particular package that make Rajaongkir.com can be used in Laravel 5. This package is a wrapper of steevenz/rajaongkir package., (*1)

Installation

Just run this on your laravel app, (*2)

  composer require gufy/laravel-rajaongkir:~1

Then, add this service provider to config/app.php, (*3)

Gufy\LaravelRajaongkir\LaravelRajaongkirServiceProvider::class

also, add this facade class to your facade section, (*4)

'Rajaongkir' => Gufy\LaravelRajaongkir\RajaongkirFacade::class

Then, run this command, (*5)

php artisan vendor:publish

It will publish configuration file on config/rajaongkir.php, (*6)

Configuration

There are two ways to do this: - Directly edit configuration file on config/rajaongkir.php - Add configuration on .env file, (*7)

If you're using the second option, then this is the things you need to do, add this code to your .env file, (*8)

RAJAONGKIR_API_KEY=your_api_key
RAJAONGKIR_ACCOUNT_TYPE=starter (or basic or advance)

Usage

You go to here for how to use the package: https://github.com/steevenz/rajaongkir#penggunaan, (*9)

The Versions

03/07 2016

dev-master

9999999-dev

This is a particular package that make Rajaongkir.com can be used in Laravel 5

  Sources   Download

MIT

The Requires

 

by Mochamad Gufron

03/07 2016

v1.0.0

1.0.0.0

This is a particular package that make Rajaongkir.com can be used in Laravel 5

  Sources   Download

MIT

The Requires

 

by Mochamad Gufron