PHPackages                             kodepandai/laravel-rajaongkir - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. kodepandai/laravel-rajaongkir

ActiveLibrary[API Development](/categories/api)

kodepandai/laravel-rajaongkir
=============================

RajaOngkir wrapper for Laravel

3.0.4(3y ago)82852MITPHPPHP ^8

Since Oct 7Pushed 3y ago3 watchersCompare

[ Source](https://github.com/kodepandai/laravel-rajaongkir)[ Packagist](https://packagist.org/packages/kodepandai/laravel-rajaongkir)[ Docs](https://github.com/kodepandai/laravel-rajaongkir)[ GitHub Sponsors](https://github.com/kodepandai)[ RSS](/packages/kodepandai-laravel-rajaongkir/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (8)Used By (0)

*Baca ini dalam bahasa: [Indonesia](README-ID.md)*

Laravel RajaOngkir API Wrapper
==============================

[](#laravel-rajaongkir-api-wrapper)

[![](https://camo.githubusercontent.com/ceb00605542334cfd2ea5694a9182587226e9cd3c9a76ff6da13162ac5fcf202/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d504850266d6573736167653d382e3026636f6c6f723d677265656e)](https://camo.githubusercontent.com/ceb00605542334cfd2ea5694a9182587226e9cd3c9a76ff6da13162ac5fcf202/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d504850266d6573736167653d382e3026636f6c6f723d677265656e)[![](https://camo.githubusercontent.com/bcaecd5d247639b748711b0ab9bf62059507df4e0171fd306b3efa2cc27c1b03/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d56657273696f6e266d6573736167653d332e302e3026636f6c6f723d626c7565)](https://camo.githubusercontent.com/bcaecd5d247639b748711b0ab9bf62059507df4e0171fd306b3efa2cc27c1b03/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d56657273696f6e266d6573736167653d332e302e3026636f6c6f723d626c7565)[![](https://camo.githubusercontent.com/8ef6a67f243699eb71e2abd76da53f19b20df371de559d7dc9f4b78265eca506/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d4672616d65776f726b266d6573736167653d4c61726176656c26636f6c6f723d726564)](https://camo.githubusercontent.com/8ef6a67f243699eb71e2abd76da53f19b20df371de559d7dc9f4b78265eca506/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d4672616d65776f726b266d6573736167653d4c61726176656c26636f6c6f723d726564)

Installation
------------

[](#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
-----

[](#usage)

```
use Kodepandai\LaravelRajaOngkir\Facades\RajaOngkir;

return RajaOngkir::getProvince();
```

Credits
-------

[](#credits)

- [Tio](https://github.com/sangvictim)
- [Akhmad Salafudin](https://github.com/axmad386)

This repo used template from [spatie](https://github.com/spatie/package-skeleton-laravel)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~56 days

Recently: every ~43 days

Total

7

Last Release

1338d ago

Major Versions

1.0 → 2.0.02021-11-04

2.0.0 → 3.0.02022-03-22

PHP version history (2 changes)1.0PHP ^7.4|^8.0

3.0.0PHP ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a66a3f67ded4e30bdd4b715c22827d60bf2d27c1f26979b5eb9cda8f0a9ddd6?d=identicon)[sangvictim](/maintainers/sangvictim)

---

Top Contributors

[![sangvictim](https://avatars.githubusercontent.com/u/21048384?v=4)](https://github.com/sangvictim "sangvictim (9 commits)")[![axmad386](https://avatars.githubusercontent.com/u/8775678?v=4)](https://github.com/axmad386 "axmad386 (7 commits)")[![deepsourcebot](https://avatars.githubusercontent.com/u/60907429?v=4)](https://github.com/deepsourcebot "deepsourcebot (1 commits)")[![dinorain](https://avatars.githubusercontent.com/u/29592674?v=4)](https://github.com/dinorain "dinorain (1 commits)")[![kinkusuma](https://avatars.githubusercontent.com/u/66422665?v=4)](https://github.com/kinkusuma "kinkusuma (1 commits)")

---

Tags

hacktoberfestlaravelrajaongkirlaravelrajaongkirlaravel-rajaongkirkodepandai

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/kodepandai-laravel-rajaongkir/health.svg)

```
[![Health](https://phpackages.com/badges/kodepandai-laravel-rajaongkir/health.svg)](https://phpackages.com/packages/kodepandai-laravel-rajaongkir)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[nikolag/laravel-square

Square API integration with Laravel built on nikolag/core

3827.3k](/packages/nikolag-laravel-square)[rizalafani/rajaongkirlaravel

Raja Ongkir API Laravel 5

237.2k](/packages/rizalafani-rajaongkirlaravel)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
