PHPackages                             stevenay/myanfont - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. stevenay/myanfont

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

stevenay/myanfont
=================

Zawgyi and Unicode Font Detector and Converter

v0.2.0(6y ago)157.5k↓33.3%12MITPHPPHP &gt;=7.0

Since Jul 29Pushed 6y ago3 watchersCompare

[ Source](https://github.com/stevenay/myanfont)[ Packagist](https://packagist.org/packages/stevenay/myanfont)[ Docs](https://github.com/stevenay/myanfont)[ RSS](/packages/stevenay-myanfont/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (2)

MyanFont
========

[](#myanfont)

**MyanFont** is simple php library for Zawgyi/Unicode font detection plus convertion utilities.

Features
--------

[](#features)

- Myanmar Sar Checker
- Zawgyi/Unicode Encoding Detector (using Regular Expression)
- Zawgyi/Unicode Encoding Detector (using Machine Learning based Markov Model)
- Zawgyi &lt;=&gt; Unicode Converter

As a **notice**, it cannot get 100% correction in detecting zawgyi or unicode just by checking to the text. But it will be correct like 80% in most cases. For longer text, it is safe enough to assume 95% correct to detect zawgyi/unicode.

Installation
------------

[](#installation)

Install using composer:

```
composer require "stevenay/myanfont:0.2.0"

```

Usage
-----

[](#usage)

```
