k0pernikus / currency-converter
Currency conversion using the Eurpean Central bank rates
1.0.2
2015-09-29 11:13 UTC
Requires
- php: >=5.4
Requires (Dev)
- escapestudios/symfony2-coding-standard: ^2.7
- phpunit/phpunit: ^4.8
- scrutinizer/ocular: ^1.1
This package is not auto-updated.
Last update: 2024-05-19 06:55:40 UTC
README
About
Currency Converter supporting the European Central Bank XML.
Installation
Get composer and then require the library using:
composer require k0pernikus/currency-converter
Usage
$converter = CurrencyConverterFactory::createCurrencyConverter();
$euroPrice = 1337;
$usdPrice = $converter
->setFromCurrency('EUR')
->setToCurrency('USD')
->convert($euroPrice);
TODOs
- symfony2 bundle