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 6mo 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 today

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

29

—

LowBetter than 57% of packages

Maintenance54

Moderate activity, may be stable

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

552d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25207537?v=4)[racodex](/maintainers/andreracodex)[@andreracodex](https://github.com/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/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M6](/packages/propaganistas-laravel-disposable-email)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725172.4k14](/packages/tallstackui-tallstackui)[laravel/surveyor

Static analysis tool for Laravel applications.

86121.4k11](/packages/laravel-surveyor)

PHPackages © 2026

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