PHP code example of dimidrol88 / php-currencies-marker
1. Go to this page and download the library: Download dimidrol88/php-currencies-marker 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/ */
dimidrol88 / php-currencies-marker example snippets
$valute = new dimidrol88\сurrenciesMarker\CurrencyMarker();
print_r($valute);
$valute = new dimidrol88\сurrenciesMarker\CurrencyMarker(date('d/m/Y'));// 10/09/1994
print_r($valute);
$valute = new dimidrol88\сurrenciesMarker\CurrencyMarker(date('d/m/Y'));// 10/09/1994
echo $valute->usd;
echo $valute->eur;
$valute = new dimidrol88\сurrenciesMarker\CurrencyMarker();
print_r($valute->getCurrenciesList());
$ composer