mixislv / eurofxref
Euro foreign exchange reference rates
Installs: 19 113
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
- ext-libxml: *
- ext-simplexml: *
This package is auto-updated.
Last update: 2024-11-29 02:07:57 UTC
README
The reference rates are usually updated by 15:00 CET on every working day, except on TARGET closing days. They are based on a regular daily concertation procedure between central banks across Europe and worldwide, which normally takes place at 14:15 CET. see more
Requirements
The following PHP extension is required:
- PHP >= 5.4.0
- option allow_url_fopen=On (default)
- libxml
Installing
You can install eurofxref via Composer with:
composer require "mixislv/eurofxref" "^1.0"
Or by adding the following to your composer.json:
"require": {
"mixislv/eurofxref": "^1.0"
}
Usage
use mixisLv\eurofxref\Ecb; $ecb = new Ecb(); var_dump($ecb->rates->single("USD"));
Check out examples directory for usage examples