PHPackages                             ncaneldiee/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. ncaneldiee/rajaongkir

ActiveLibrary[API Development](/categories/api)

ncaneldiee/rajaongkir
=====================

PHP Raja Ongkir API

v1.0.1(8y ago)51.2k2[1 issues](https://github.com/ncaneldiee/rajaongkir/issues)1MITPHPPHP &gt;=5.6.0

Since Nov 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ncaneldiee/rajaongkir)[ Packagist](https://packagist.org/packages/ncaneldiee/rajaongkir)[ RSS](/packages/ncaneldiee-rajaongkir/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (1)

PHP Raja Ongkir API
-------------------

[](#php-raja-ongkir-api)

[![Latest Version](https://camo.githubusercontent.com/e63a3e1c3c28acc69ecc1a45b950d8b3f372305e27e252b1122311121fe23ea1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6e63616e656c646965652f72616a616f6e676b69722e7376673f7374796c653d666c61742d737175617265)](https://github.com/ncaneldiee/rajaongkir/releases)[![Total Download](https://camo.githubusercontent.com/bb07370a9383e60b13bf427a6c26178da2678a4c8e4ea2e84e54608eef404df5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e63616e656c646965652f72616a616f6e676b69722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ncaneldiee/rajaongkir)[![Software License](https://camo.githubusercontent.com/6e40155fa544ae6038f7499907fe9804f7e71dcd7bf1187a4189339883aef85e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e63616e656c646965652f72616a616f6e676b69722e7376673f7374796c653d666c61742d737175617265)](https://github.com/ncaneldiee/rajaongkir/blob/master/LICENSE.md)

A PHP library which implement the complete functionality of [Raja Ongkir API](http://rajaongkir.com/dokumentasi).

Courier services : `jne`, `pos`, `tiki`, `esl`, `pcp`, `rpx`, `cahaya`, `dse`, `first`, `indah`, `jet`, `jnt`, `nss`, `ncs`, `pahala`, `pandu`, `sap`, `sicepat`, `slis`, `star`, `wahana`.

Requirements
------------

[](#requirements)

1. PHP 5.6+ with [cURL](http://php.net/manual/en/curl.installation.php) and [mbstring](http://php.net/manual/en/mbstring.installation.php) extension
2. [Composer](http://getcomposer.org)

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

[](#installation)

Using composer.

```
$ composer require ncaneldiee/rajaongkir
```

Example
-------

[](#example)

```
use Ncaneldiee\Rajaongkir;

$rajaongkir = new Rajaongkir\Domestic(YOUR_API_KEY);

$rajaongkir->cost($origin, $destination, $weight, $courier);

$rajaongkir->waybill($tracking_number, $courier);
```

Full documentation can be found at the [wiki](http://github.com/ncaneldiee/rajaongkir/wiki).

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](http://github.com/ncaneldiee/rajaongkir/blob/master/LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% of commits — single point of failure

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 ~318 days

Total

2

Last Release

3158d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79e426a8f88d6d35b5d9a7fc616cb1f1e9e04b295a6bdbc20773bd51242cf863?d=identicon)[ncaneldiee](/maintainers/ncaneldiee)

---

Top Contributors

[![ncaneldiee](https://avatars.githubusercontent.com/u/5317320?v=4)](https://github.com/ncaneldiee "ncaneldiee (14 commits)")[![totoprayogo1916](https://avatars.githubusercontent.com/u/2387514?v=4)](https://github.com/totoprayogo1916 "totoprayogo1916 (1 commits)")

---

Tags

rajaongkir

### Embed Badge

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

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

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[kavist/rajaongkir

Klien API PHP untuk RajaOngkir

13520.4k](/packages/kavist-rajaongkir)[steevenz/rajaongkir

Advanced RajaOngkir API PHP Class

598.5k1](/packages/steevenz-rajaongkir)[rizalafani/rajaongkirlaravel

Raja Ongkir API Laravel 5

237.2k](/packages/rizalafani-rajaongkirlaravel)

PHPackages © 2026

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