galek / exchange-rate
Exchange rate, base ČNB
v0.5.3
2023-05-15 15:29 UTC
Requires
- php: >= 7.4
- ext-curl: *
- ext-mbstring: *
- ext-simplexml: *
- nette/caching: ^2.5
- nette/di: ~2.4
- nette/safe-stream: ^2
- nette/utils: ~2.4
- symfony/polyfill-iconv: ^1.27
- symfony/polyfill-mbstring: ^1.27
Requires (Dev)
- nette/tester: @dev
- tracy/tracy: ^2.4
This package is auto-updated.
Last update: 2024-12-15 18:51:52 UTC
README
Package Installation
The best way to install Exchange Rate is using Composer:
$ composer require galek/exchange-rate
or manual edit composer.json in your project
"require": { "galek/exchange-rate": "^0.2.8" }
Usage
ČNB - Česká Národní Banka / CNB - Czech National Bank
You can use exchange rate of ČNB
Daily exchange rate (#avaible countries)
$cnb = new \TroiaStudio\ExchangeRate\CNB\Day;
Monthly exchange rate (#Exotic country))
$cnb = new \TroiaStudio\ExchangeRate\CNB\Day;
TODO
- Universal calculatator for transfer between exchanges
- Add Raiffeisenbank
- Add Česká spořitelna
- Add ČSOB
- Add MoneyBank
- Add ... (write to issue if you want add some else)