ageekdev/myanmar-currency

This is my package myanmar-currency

v1.0.1 2022-05-31 15:06 UTC

This package is auto-updated.

Last update: 2024-11-02 04:04:34 UTC


README

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.