andreracodex/bi-exchange
Composer 安装命令:
composer require andreracodex/bi-exchange
包简介
A package to fetch exchange rates from Bank Indonesia
关键字:
README 文档
README
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
- 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
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
Fetch exchange rates from Bank Indonesia (BI) and update them in your database.
php artisan ambil:rate
Automatic Migration
If you're using Laravel 5.5 or later, the migration will be automatically published when you install the package.
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 & Donations
If you found this library helpful and would like to support its development:
Your support helps maintain and improve this library. Thank you!
andreracodex/bi-exchange 适用场景与选型建议
andreracodex/bi-exchange 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 12 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「currency」 「laravel」 「rates」 「exchange」 「BI」 「bank-indonesia」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 andreracodex/bi-exchange 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 andreracodex/bi-exchange 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 andreracodex/bi-exchange 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Delivers current exchange rates for EUR provided by the ECB as PHP objects.
ExchangeRatesCBRF Class to get exchange rates of the Central Bank of Russia
Fixer.io data provider for Peso
TCMB Currenct Converter
Immutable PHP currency converter that's data-agnostic.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-28