Laravel Zawgyi Unicode Package
, (*1)
Requirements
version-4.*
version-3.*
version-2.*
Unsupported since 27-4-2024
- PHP ^7.1.3|^8.0
- Laravel 5.6|5.7|5.8|6.x|7.x|8.x, (*2)
version-1.*
Unsupported since 27-4-2024
- PHP ^7.0
- Laravel 5.5|5.6|5.7|5.8, (*3)
version-0.*
Unsupported since 27-4-2024
- PHP ^5.5.6, (*4)
Read the extensive documentation on version 0.x and on version 1.x., (*5)
Installation
You can install this package via composer using this command:, (*6)
composer require tintnaingwin/myanfont:"~4.0"
The package will automatically register itself., (*7)
Usage
Using the facade
MyanFont::uni2zg('ဥုံတလဲလဲဖွတလဲလဲ'); // ဥဳံတလဲလဲဖြတလဲလဲ
MyanFont::uni2zg('ဥုံတလဲလဲဖွတလဲလဲ'); // ဥဳံတလဲလဲဖြတလဲလဲ
MyanFont::zg2uni('ဥဳံတလဲလဲဖြတလဲလဲ'); // ဥုံတလဲလဲဖွတလဲလဲ
MyanFont::zg2uni('ဥဳံတလဲလဲဖြတလဲလဲ'); // ဥုံတလဲလဲဖွတလဲလဲ
// zawgyi
MyanFont::isZgOrUni('ခ်ယ္ရီ'); // output - zawgyi
// unicode
MyanFont::isZgOrUni('ချယ်ရီ'); // output - unicode
Using with Helpers
uni2zg('ဥုံတလဲလဲဖွတလဲလဲ'); // ဥဳံတလဲလဲဖြတလဲလဲ
zg2uni('ဥဳံတလဲလဲဖြတလဲလဲ'); // ဥုံတလဲလဲဖွတလဲလဲ
isZgOrUni('ခ်ယ္ရီ'); // output - zawgyi
Testing
You can run the tests with:, (*8)
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently., (*9)
Contributing
Please see CONTRIBUTING for details., (*10)
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities., (*11)
Credits
License
The MIT License (MIT). Please see License File for more information., (*12)