此包的最新版本(v1.0.5)没有可用的许可证信息。

货币汇率

v1.0.5 2021-01-26 08:05 UTC

This package is auto-updated.

Last update: 2024-08-28 14:15:15 UTC


README

cbr.ru 的 XML

通过 composer 安装

{
	"akiyatkin/cbr":"~1"
}

在 php 中使用

use akiyatkin\cbr\CBR;

$data = CBR::get(); //Актуальны курсы валют на сегодня. С кэшем на 1 час.
echo '<pre>';
print_r($data);

infrajs/controller 一起使用

连接层

{
	"external":"-cbr/today.layer.json"
}