php-junior/mm-exchange-rates

v1.0.1 2020-01-08 12:13 UTC

This package is auto-updated.

Last update: 2024-11-08 23:19:57 UTC


README

Latest Version on Packagist Total Downloads

MM Exchange Rates Package လေးက https://forex.cbm.gov.mm ရဲ့ Data ကို သုံးထားတာပါ

အသုံးပြုပုံ

$exchangeRates = new \PhpJunior\ExchangeRates\ExchangeRates();
$exchangeRates->currencies(); // Currencies

$exchangeRates->exchangeRates(['USD', 'EUR']); //နောက်ဆုံး Exchange Rates
$exchangeRates->exchangeRates(['USD', 'EUR'], '2019-01-08'); //သက်ဆိုင်ရာရက် Exchange Rates

$exchangeRates->exchangeRatesBetweenDateRange(['USD', 'AUD'], '2019-12-29', '2020-01-08');

$exchangeRates->convert(100,['USD', 'EUR']); // ဘယ် Currency မှာ မြန်မာငွေ ဘယ်လောက်ရှိလဲ တွက်ရန်
$exchangeRates->convert(100,['USD', 'EUR'], '2019-01-08');

Credits

License

The MIT License (MIT). Please see License File for more information.