PHPackages                             brianrizqi/rajaongkirapipro - 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. brianrizqi/rajaongkirapipro

ActiveLibrary[API Development](/categories/api)

brianrizqi/rajaongkirapipro
===========================

Rajaongkir Pro for Laravel 6

36621PHP

Since May 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/brianrizqi/RajaongkirApiPro)[ Packagist](https://packagist.org/packages/brianrizqi/rajaongkirapipro)[ RSS](/packages/brianrizqi-rajaongkirapipro/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

RajaOngkirApiPRO
================

[](#rajaongkirapipro)

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

[](#installation)

Via Composer

```
$ composer require brianrizqi/rajaongkirapipro
```

Usage
-----

[](#usage)

add config from php artisan vendor:publish

add .env

```
RAJAONGKIR_ENDPOINTAPI=https://pro.rajaongkir.com/api/
RAJAONGKIR_APIKEY=your-api-key
RAJAONGKIR_ORIGIN=subdistrict_id or city_id
RAJAONGKIR_ORIGIN_TYPE=subdistrict or city

```

```
Province::all() -> get all province
Province::find(id) -> get spesific province by id
Province::cities($province_id) -> get city from provinces
City::all() -> get all city
City::find(id) -> get spesific city by id
City::subdistrict($city_id) -> get subdistrict from city
Subdistrict::find($id) -> get spesific subdistrict by id
Api::calculateCost($city_id or $subdistrict_id, 'city' or 'subdistrict',weight, courier) -> check cost
Api::waybill($waybill,$courier)

```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b85c1c0f09c15d1b0e3f7a3e71a199617871148ecefe25f4ad4984746d4b95f?d=identicon)[brianrizqi](/maintainers/brianrizqi)

---

Top Contributors

[![brianrizqi](https://avatars.githubusercontent.com/u/30972350?v=4)](https://github.com/brianrizqi "brianrizqi (17 commits)")

### Embed Badge

![Health badge](/badges/brianrizqi-rajaongkirapipro/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)[pixelant/pxa-social-feed

Add Facebook, Instagram, and Twitter feeds to your site.

2349.3k](/packages/pixelant-pxa-social-feed)

PHPackages © 2026

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