Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.69 KB

README.md

File metadata and controls

58 lines (36 loc) · 1.69 KB

Myanmar Sar Currency

Laravel 8.x Laravel 9.x PHP 8.x GitHub Tests Action Status

Myanmar Sar Currency

This is a laravel library for convert myanmar kyats number to myanmar sar number. (eg."1000=>တစ်ထောင်")

Installation

You can install this package via composer using this command:

composer require ageekdev/myanmar-currency

The package will automatically register itself.

Usage

Import namespace.

use AgeekDev\MyanmarCurrency\Facades\MyanmarCurrency;
# returns 'တစ်ထောင်'
return MyanmarCurrency::convertMyanmarText("1000");

# returns 'ဆယ်သိန်း'
return MyanmarCurrency::convertMyanmarText("1000000");

Notes

  • Currently, only allow numeric value.
  • Currently, support up to "10" numeric.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

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