php-junior / mm-exchange-rates
MM Exchange Rates
v1.0.1
2020-01-08 12:13 UTC
Requires
- php: ^7.1
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- orchestra/testbench: 3.8.*
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-11-08 23:19:57 UTC
README
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.