akiyatkin / cbr
There is no license information available for the latest version (v1.0.4) of this package.
Курсы валют
v1.0.4
2018-10-10 07:29 UTC
Requires
- infrajs/ans: ~1
- infrajs/cache: ~1
README
Установка через 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" }