galek/exchange-rate

Exchange rate, base ČNB

v0.5.3 2023-05-15 15:29 UTC

This package is auto-updated.

Last update: 2024-12-15 18:51:52 UTC


README

Travis Total Downloads Latest Stable Version License Monthly Downloads

Package Installation

The best way to install Exchange Rate is using Composer:

$ composer require galek/exchange-rate

Packagist - Versions

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)