2017 © Pedro Peláez
 

library mmfont

A simple Composer Package which converts zawgyi1 <=> unicode strings

image

setkyar/mmfont

A simple Composer Package which converts zawgyi1 <=> unicode strings

  • Tuesday, March 3, 2015
  • by setkyar
  • Repository
  • 1 Watchers
  • 5 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 33 % Grown

The README.md

Mmfont

Simple package which converts zawgyi1 = unicode strings. I try to be on packagist, the codes come from saturngod's Rabbit, (*1)

Installation

Create composer.json and add the following, (*2)

{
  "require" : {
    "setkyar/mmfont" : "dev-master"
  }
}

And run $ composer install via your terminal, (*3)

Usage

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('ျမန္မာစာ');

Todo

  • Write Test

Credit

This is originally from @saturngod's Rabbit. I just try to be on packagist, (*5)

Contributing

  1. Fork it ( https://github.com/setkyar/phpmmfont )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Your star make me :smile: too, don't miss to gave it!, (*6)

License

WTFPL, (*7)

The Versions

03/03 2015

dev-master

9999999-dev

A simple Composer Package which converts zawgyi1 <=> unicode strings

  Sources   Download

WTFPL

The Requires

  • php >=5.4.0

 

by Avatar setkyar

myanmar font converter