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

3601↓100%1PHP

Since May 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/brianrizqi/RajaongkirApiPro)[ Packagist](https://packagist.org/packages/brianrizqi/rajaongkirapipro)[ RSS](/packages/brianrizqi-rajaongkirapipro/feed)WikiDiscussions master Synced 1mo 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 14% 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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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