Download the PHP package redcode/currency-rate without Composer
On this page you can find all versions of the php package redcode/currency-rate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download redcode/currency-rate
More information about redcode/currency-rate
Files in redcode/currency-rate
Package currency-rate
Short Description Useful library for fetching currency rates from cbr and ecb providers
License MIT
Homepage https://github.com/maZahaca/redcode-currency-rate
Informations about the package currency-rate
Currency Rates converter library
This library shows an efficient way to work with currencies and currency rates form Central Bank of Russia, European Central Bank, and Yahoo Finance. It contains base classes and interfaces which hide logic about loading currency rates, one of the most useful implementation is Symfony2 bundle.
Installing
Composer
You can easily install it with composer by command:
Documentation
First of all you need to implement services ICurrencyRateManager, ICurrencyManager. Then DTO or Entity objects Currency and CurrencyRate.
After that create and configure currencyConverter:
Tests
To run tests use command below:
Contribute
Pull requests are welcome. Please see our CONTRIBUTING guide.