This is a laravel library for convert myanmar kyats number to myanmar sar number. (eg."1000=>တစ်ထောင်")
You can install this package via composer using this command:
composer require ageekdev/myanmar-currency
The package will automatically register itself.
Import namespace.
use AgeekDev\MyanmarCurrency\Facades\MyanmarCurrency;
# returns 'တစ်ထောင်'
return MyanmarCurrency::convertMyanmarText("1000");
# returns 'ဆယ်သိန်း'
return MyanmarCurrency::convertMyanmarText("1000000");
- Currently, only allow numeric value.
- Currently, support up to "10" numeric.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.