Package Data | |
---|---|
Maintainer Username: | mgufron |
Maintainer Contact: | mgufronefendi@gmail.com (Mochamad Gufron) |
Package Create Date: | 2016-07-03 |
Package Last Update: | 2016-07-03 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-14 15:17:20 |
Package Statistics | |
---|---|
Total Downloads: | 58 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 1 |
Total Forks: | 3 |
Total Open Issues: | 1 |
This is a particular package that make Rajaongkir.com can be used in Laravel 5. This package is a wrapper of steevenz/rajaongkir
package.
Just run this on your laravel app
composer require gufy/laravel-rajaongkir:~1
Then, add this service provider to config/app.php
Gufy\LaravelRajaongkir\LaravelRajaongkirServiceProvider::class
also, add this facade class to your facade section
'Rajaongkir' => Gufy\LaravelRajaongkir\RajaongkirFacade::class
Then, run this command
php artisan vendor:publish
It will publish configuration file on config/rajaongkir.php
There are two ways to do this:
config/rajaongkir.php
.env
fileIf you're using the second option, then this is the things you need to do, add this code to your .env
file
RAJAONGKIR_API_KEY=your_api_key
RAJAONGKIR_ACCOUNT_TYPE=starter (or basic or advance)
You go to here for how to use the package: https://github.com/steevenz/rajaongkir#penggunaan