dwo / ecb_exchange_rates
grep foreign exchange reference rates from the ecb
v1.0.1
2015-04-16 16:08 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2026-03-15 01:00:31 UTC
README
EcbExchangeRates
Grep the Euro foreign exchange reference rates from the ECB.
https://www.ecb.europa.eu/stats/exchange/eurofxref/html/index.en.html
Installation
Installation with Composer
composer.phar require dwo/ecb_exchange_rates
Usage
$exchangeRates = EcbExchangeRates::getAll();
You will receive an array with the available currencies
array(31) { ["USD"]=> float(1.0711) ["JPY"]=> float(127.64) ... )