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

ActiveLibrary

bcscoder/rajaongkir
===================

Laravel + rajaongkir API.

0.3(10y ago)1833[1 issues](https://github.com/yusidabcs/rajaongkir/issues)BSD-2-ClausePHPPHP &gt;=5.3.0

Since Aug 20Pushed 10y ago2 watchersCompare

[ Source](https://github.com/yusidabcs/rajaongkir)[ Packagist](https://packagist.org/packages/bcscoder/rajaongkir)[ RSS](/packages/bcscoder-rajaongkir/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

rajaongkir
==========

[](#rajaongkir)

Laravel + Rajaongkir API

### Intallation

[](#intallation)

via composer

```
"require-dev": {
    "bcscoder/rajaongkir": "dev-master"
}

```

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

`'Bcscoder\Rajaongkir\RajaongkirServiceProvider'`

After that add new item to alias array in app.php

`'RajaOngkir' => 'Bcscoder\Rajaongkir\Facades\Profiler',`

### Example to use

[](#example-to-use)

#### Get City

[](#get-city)

```
$rs = RajaOngkir::getCity();

//that will show all the city

```

#### Get Cost

[](#get-cost)

```
//$weight in gram

$results = RajaOngkir::getCost($origin_city_id,$destination_city_id,$weight,$courier);

```

#### tips

[](#tips)

You can cache the get city result so it should not make request to server every time you want get the cost from your courier

For more api documentation please [Visit rajaongkir](rajaongkir.com/dokumentasi)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% 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 ~158 days

Total

4

Last Release

3811d ago

Major Versions

0.2 → 4.2.x-dev2014-12-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9a9d5d1fc19361326105e2c4c3b876293fb636f2d57b07ac5b5ad6514228a03?d=identicon)[yusida](/maintainers/yusida)

---

Top Contributors

[![yusidabcs](https://avatars.githubusercontent.com/u/4271647?v=4)](https://github.com/yusidabcs "yusidabcs (13 commits)")[![hok00age](https://avatars.githubusercontent.com/u/2275494?v=4)](https://github.com/hok00age "hok00age (1 commits)")

### Embed Badge

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

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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