PHPackages                             andreracodex/bi-exchange - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. andreracodex/bi-exchange

ActiveLibrary[HTTP &amp; Networking](/categories/http)

andreracodex/bi-exchange
========================

A package to fetch exchange rates from Bank Indonesia

v1.1.0(1y ago)05MITPHPPHP ^7.3|^8.0

Since Dec 28Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/andreracodex/bi-exchange)[ Packagist](https://packagist.org/packages/andreracodex/bi-exchange)[ RSS](/packages/andreracodex-bi-exchange/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Fetch Exchange Rates
====================

[](#fetch-exchange-rates)

A Laravel package to fetch exchange rates from Bank Indonesia (BI) and update them in your database. This package scrapes the exchange rates from the official Bank Indonesia website and allows you to easily integrate it into your Laravel application.

By: Tirta Rachmandiri

Features
--------

[](#features)

- Fetch exchange rates from Bank Indonesia.
- Supports multiple currencies (AUD, EUR, USD, GBP, etc.).
- Update the sell and buy rates in your database.
- Simple Laravel command to trigger the rate fetch.

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

[](#installation)

### 1. Install the Package

[](#1-install-the-package)

You can install this package via Composer. Run the following command in your Laravel project directory:

```
composer require andreracodex/bi-exchange
```

### 2. Get Rate from BI

[](#2-get-rate-from-bi)

Fetch exchange rates from Bank Indonesia (BI) and update them in your database.

```
php artisan ambil:rate
```

### Automatic Migration

[](#automatic-migration)

If you're using Laravel 5.5 or later, the migration will be automatically published when you install the package.

### Manual Migration

[](#manual-migration)

If you want to manually publish the migration and models, you can use the following command (if something wrong):

```
php artisan vendor:publish --tag="bi"
```

Support &amp; Donations
-----------------------

[](#support--donations)

If you found this library helpful and would like to support its development:

[![Saweria](https://camo.githubusercontent.com/578f25716e5222a1e5dd5a514592c90b72d827593beb6d129fcafe7fb5360dbf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736177657269612d646f6e6174652d626c75652e737667)](https://saweria.co/racodex)

Your support helps maintain and improve this library. Thank you!

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance63

Regular maintenance activity

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

497d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7889ed7495d3bb6c253944be2f1260fb6dbf824011b1662df5c34dd08eefa71c?d=identicon)[andreracodex](/maintainers/andreracodex)

---

Top Contributors

[![andreracodex](https://avatars.githubusercontent.com/u/25207537?v=4)](https://github.com/andreracodex "andreracodex (45 commits)")

---

Tags

laravelcurrencyexchangeratesBIbank-indonesiavalasBI-exchangenilainilai-tukar

### Embed Badge

![Health badge](/badges/andreracodex-bi-exchange/health.svg)

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

###  Alternatives

[laravel-shift/curl-converter

A command line tool to convert curl requests to Laravel HTTP requests.

935.3k](/packages/laravel-shift-curl-converter)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[onlime/laravel-http-client-global-logger

A global logger for the Laravel HTTP Client

1935.1k](/packages/onlime-laravel-http-client-global-logger)[dragon-code/laravel-http-logger

Logging incoming HTTP requests

319.8k3](/packages/dragon-code-laravel-http-logger)

PHPackages © 2026

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