php-junior/mm-exchange-rates

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

This package is auto-updated.

Last update: 2024-12-08 23:27:41 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.