Unsupported since 27-4-2024
Unsupported since 27-4-2024
Unsupported since 27-4-2024
Read the extensive documentation on version 0.x and on version 1.x.
You can install this package via composer using this command:
composer require tintnaingwin/myanfont:"~4.0"
The package will automatically register itself.
- Unicode to Zawgyi
MyanFont::uni2zg('ဥုံတလဲလဲဖွတလဲလဲ'); // ဥဳံတလဲလဲဖြတလဲလဲ
MyanFont::uni2zg('ဥုံတလဲလဲဖွတလဲလဲ'); // ဥဳံတလဲလဲဖြတလဲလဲ
- Zawgyi to Unicode
MyanFont::zg2uni('ဥဳံတလဲလဲဖြတလဲလဲ'); // ဥုံတလဲလဲဖွတလဲလဲ
MyanFont::zg2uni('ဥဳံတလဲလဲဖြတလဲလဲ'); // ဥုံတလဲလဲဖွတလဲလဲ
- Detect Font
// zawgyi
MyanFont::isZgOrUni('ခ်ယ္ရီ'); // output - zawgyi
// unicode
MyanFont::isZgOrUni('ချယ်ရီ'); // output - unicode
- Unicode to Zawgyi
uni2zg('ဥုံတလဲလဲဖွတလဲလဲ'); // ဥဳံတလဲလဲဖြတလဲလဲ
- Zawgyi to Unicode
zg2uni('ဥဳံတလဲလဲဖြတလဲလဲ'); // ဥုံတလဲလဲဖွတလဲလဲ
- Detect Font
isZgOrUni('ခ်ယ္ရီ'); // output - zawgyi
You can run the tests with:
composer test
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.