PHPackages                             kadekjayak/bi-rates - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kadekjayak/bi-rates

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kadekjayak/bi-rates
===================

Simple library to get currency rate from Bank Indonesia

v1.0(6y ago)171MITPHPPHP &gt;=5.4.0

Since Jul 20Pushed 6y agoCompare

[ Source](https://github.com/kadekjayak/bi-rates)[ Packagist](https://packagist.org/packages/kadekjayak/bi-rates)[ RSS](/packages/kadekjayak-bi-rates/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Bank Indonesia Rates Scraper
============================

[](#bank-indonesia-rates-scraper)

Library sederhana untuk mengambil kurs mata uang (Currency Rate) dari website Bank Indonesia.

Install
-------

[](#install)

```
$ composer require kadekjayak/bi-rates
```

Usage
-----

[](#usage)

```
$BiRates = new \Kadekjayak\BiRates\BiRates();

// Get All Rates
$BiRates->getRates();

// Get Specific Rates
$BiRates->getRates('USD');

// Output All Rates
Array (
    ....
    [AUD] => Array
        (
            [sell] => 9884.58
            [buy] => 9784.23
        )
    ....
)

// Output Specific Rates
Array
(
    [sell] => 9884.58
    [buy] => 9784.23
)
```

Testing
-------

[](#testing)

```
$ phpunit
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/kadekjayak/bi-rates/blob/master/LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2486d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4880dadbc24c2b9a742592908aaabdd0a4bd9cb637f201707d69b9f5a0e5cc43?d=identicon)[kadekjayak](/maintainers/kadekjayak)

---

Top Contributors

[![kadekjayak](https://avatars.githubusercontent.com/u/5086060?v=4)](https://github.com/kadekjayak "kadekjayak (2 commits)")

---

Tags

scrapeindonesiacurrency rates

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kadekjayak-bi-rates/health.svg)

```
[![Health](https://phpackages.com/badges/kadekjayak-bi-rates/health.svg)](https://phpackages.com/packages/kadekjayak-bi-rates)
```

###  Alternatives

[sastrawi/sastrawi

PHP library for stemming Indonesian language (Bahasa Indonesia)

43972.0k4](/packages/sastrawi-sastrawi)[crwlr/crawler

Web crawling and scraping library.

37214.8k2](/packages/crwlr-crawler)[nasution/terbilang

Convert numbers into words (and vice-versa) in Indonesian language

6747.1k](/packages/nasution-terbilang)[luka-dev/headless-task-server-php

Helper for sending requests to luka-dev/headless-task-server

109.6k](/packages/luka-dev-headless-task-server-php)

PHPackages © 2026

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