this package is unofficial written in PHP.
For Documentation please check Raja ongkir
Install this package with composer by following command:
composer require faiznurullah/rajaongkir
or add manually in your Composer.json
file.
on file .env you can add this configuration:
API_KEY_ONGKIR = "API_KEY_ONGKIR";
STATUS_API_KEY = "Pro or Starter";
on file config/app.php
you can add this configuration.
'providers' => [
Faiznurullah\Rajaongkir\RajaongkirServiceProvider::class,
],
Initialize some required credentials. You can get credentials on your raja ongkir account dashboard.
<?php
require_once 'location/rajaongkir.php';
// API Key
$apikey = 'API_KEY_ONGKIR';
$status = 'Pro or Starter';
For any requests, bugs, or comments, please open an issue.
Before you start to code, run this command to install all of the required packages. Make sure you have composer installed in your computer.
composer install
I hope you can enjoy and contribute to future development.