PHP code example of akiyatkin / cbr
1. Go to this page and download the library: Download akiyatkin/cbr library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
akiyatkin / cbr example snippets
use akiyatkin\cbr\CBR;
$data = CBR::get(); //Актуальны курсы валют на сегодня. С кэшем на 1 час.
echo '<pre>';
print_r($data);