fjescala/centralbank
Composer 安装命令:
composer require fjescala/centralbank
包简介
package to extract the price of the different currencies by the central bank
README 文档
README
package to extract the price of the different currencies by the central bank of Venezuela
Installation
composer require fjescala/centralbank
Uso
Here is a little example:
use Fjescala\CentralBank\CentralBankManager as CentralBank; // at the top of the file
public function __construct(CentralBank $central)
{
$this->central = $central;
}
public function index()
{
$amountInBolivares = $this->central->getCurrency("dolar");
$amountInBolivares = $this->central->getCurrency("rublo");
$amountInBolivares = $this->central->getCurrency("lira");
$amountInBolivares = $this->central->getCurrency("yuan");
$amountInBolivares = $this->central->getCurrency("euro");
}
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-18