faiznurullah / rajaongkir
package for php application for connect with rajaongkir service
Requires
- guzzlehttp/guzzle: ^7.0
- illuminate/support: ^6|^7|^8|^9|^10|^11
- vlucas/phpdotenv: ^5.6
This package is auto-updated.
Last update: 2024-12-30 00:43:39 UTC
README
this package is unofficial written in PHP.
Official documentation
For Documentation please check Raja ongkir
Installation
Install this package with composer by following command:
composer require faiznurullah/rajaongkir
or add manually in your Composer.json
file.
Usage
Laravel
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,
],
Native
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';
Contributing
For any requests, bugs, or comments, please open an issue.
Installing Packages
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.