kodepandai/laravel-rajaongkir

RajaOngkir wrapper for Laravel

Fund package maintenance!
kodepandai

Installs: 282

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 3

Forks: 1

Open Issues: 0

pkg:composer/kodepandai/laravel-rajaongkir

3.0.4 2022-09-12 10:43 UTC

This package is auto-updated.

Last update: 2025-10-12 17:28:08 UTC


README

Baca ini dalam bahasa: Indonesia

Laravel RajaOngkir API Wrapper

Installation

You can install the package via composer:

composer require kodepandai/laravel-rajaongkir

You can publish the config file with:

php artisan vendor:publish --tag="rajaongkir-config"

This is the contents of the published config file:

return [
    'API_KEY' => env('RAJAONGKIR_KEY', 'somerandomstring'),
    'ACCOUNT_TYPE' => env('RAJAONGKIR_TYPE', 'starter')
];

Usage

use Kodepandai\LaravelRajaOngkir\Facades\RajaOngkir;

return RajaOngkir::getProvince();

Credits

This repo used template from spatie

License

The MIT License (MIT). Please see License File for more information.