Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simenandre/currency-converter-ecb
helper to convert currencies, using values from European Central Bank XML
https://github.com/simenandre/currency-converter-ecb
Last synced: 27 days ago
JSON representation
helper to convert currencies, using values from European Central Bank XML
- Host: GitHub
- URL: https://github.com/simenandre/currency-converter-ecb
- Owner: simenandre
- Created: 2014-02-05T15:32:02.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-04-25T06:49:39.000Z (over 1 year ago)
- Last Synced: 2024-12-05T08:44:39.292Z (about 1 month ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Currency converter ECB (European central bank)
==============================================XML Parser (of http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml) and currency converter (from one currency to any other).
Originally made by Elvis Ciotti. This version is a stripped down, that is made with a static function, and without the composer. (Fast commit. I might add it later on.)
Example
```
$currency = Currency::convert(1.5, 'EUR', 'GBP');
```