PHP code example of dwo / ecb_exchange_rates
1. Go to this page and download the library: Download dwo/ecb_exchange_rates 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/ */
dwo / ecb_exchange_rates example snippets
$exchangeRates = EcbExchangeRates::getAll();
array(31) {
["USD"]=>
float(1.0711)
["JPY"]=>
float(127.64)
...
)