A simple Composer Package which converts zawgyi1 <=> unicode strings
Simple package which converts zawgyi1 = unicode strings. I try to be on packagist, the codes come from saturngod's Rabbit, (*1)
Create composer.json
and add the following, (*2)
{ "require" : { "setkyar/mmfont" : "dev-master" } }
And run $ composer install
via your terminal, (*3)
Create new php file and add the following, (*4)
<?php // Display Errors On ini_set('display_errors', 'On'); $autoload = __DIR__.'/vendor/autoload.php'; if ( ! file_exists($autoload)) { exit("Need to run \"composer install\"!"); } require $autoload; use SetKyar\Mmfont\Mmfont; $mmfont = new Mmfont; echo "Unicode to Zaw Gyi " . $mmfont->uni2zg1('မြန်မာစာ'); echo "<br>"; echo "Zaw Gyi to Unicode " . $mmfont->zg12uni('ျမန္မာစာ');
This is originally from @saturngod's Rabbit. I just try to be on packagist, (*5)
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Your star make me :smile: too, don't miss to gave it!, (*6)
WTFPL, (*7)