PHPackages                             tintnaingwin/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. tintnaingwin/myanfont

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

tintnaingwin/myanfont
=====================

Laravel Zawgyi &lt;=&gt; Unicode Package

v4.2.0(1mo ago)813.9k↓46.9%21MITPHPPHP ^8.2CI passing

Since Aug 9Pushed 1mo ago2 watchersCompare

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

READMEChangelog (10)Dependencies (20)Versions (26)Used By (1)

Laravel Zawgyi &lt;=&gt; Unicode Package
========================================

[](#laravel-zawgyi--unicode-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4aadb0055ab47cb610dc25485790996647f8031bd20b7cc5cc3cc3ccb8c5ac12/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74696e746e61696e6777696e2f6d79616e666f6e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tintnaingwin/myanfont)[![Laravel 11.x](https://camo.githubusercontent.com/6af540d86774b68377b5404150551aad9a1c12ae64d639fe671176a7192d794a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31312e782d7265642e7376673f7374796c653d666c61742d737175617265)](http://laravel.com/docs/11.x)[![Laravel 12.x](https://camo.githubusercontent.com/19d5bb0370853f3f5f64da8e47f7b2e14803b7fa5f7c8d04e347ac6849edb9ee/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d7265642e7376673f7374796c653d666c61742d737175617265)](http://laravel.com/docs/12.x)[![Laravel 13.x](https://camo.githubusercontent.com/9323befa9be5b825f59a9c06b973952579a0a8986f0e0cc2fd3b19640afcaf59/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31332e782d7265642e7376673f7374796c653d666c61742d737175617265)](http://laravel.com/docs/13.x)[![Total Downloads](https://camo.githubusercontent.com/aac6af33592bb458ffd52f23c46aa092bf2e74203845e90ba5d452456a3ac390/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74696e746e61696e6777696e2f6d79616e666f6e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tintnaingwin/myanfont)[![License](https://camo.githubusercontent.com/7123c32787e013be5a8a13598ad01f562754637ed6141e89b02e85bf16d3e63e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tintnaingwin/myanfont)

Requirements
------------

[](#requirements)

#### version-4.\*

[](#version-4)

- [PHP ^8.2|^8.3|^8.4|^8.5](http://php.net/)
- [Laravel ^11.x|^12.x|^13.x](https://github.com/laravel/framework)

#### version-3.\*

[](#version-3)

- [PHP ^8.0|^8.1|^8.2](http://php.net/)
- [Laravel 8.x|9.x|^10.x](https://github.com/laravel/framework)

#### version-2.\*

[](#version-2)

Unsupported since 27-4-2024

- [PHP ^7.1.3|^8.0](http://php.net/)
- [Laravel 5.6|5.7|5.8|6.x|7.x|8.x](https://github.com/laravel/framework)

#### version-1.\*

[](#version-1)

Unsupported since 27-4-2024

- [PHP ^7.0](http://php.net/)
- [Laravel 5.5|5.6|5.7|5.8](https://github.com/laravel/framework)

#### version-0.\*

[](#version-0)

Unsupported since 27-4-2024

- [PHP ^5.5.6](http://php.net/)

Read the extensive documentation [on version 0.x](https://github.com/tintnaingwin/MyanFont/tree/v0.x) and [on version 1.x](https://github.com/tintnaingwin/MyanFont/tree/v1).

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

[](#installation)

You can install this package via composer using this command:

```
composer require tintnaingwin/myanfont:"~4.0"
```

The package will automatically register itself.

Usage
-----

[](#usage)

#### Using the facade

[](#using-the-facade)

- 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
```

### Using with Helpers

[](#using-with-helpers)

- Unicode to Zawgyi

```
uni2zg('ဥုံတလဲလဲဖွတလဲလဲ'); // ဥဳံတလဲလဲဖြတလဲလဲ
```

- Zawgyi to Unicode

```
zg2uni('ဥဳံတလဲလဲဖြတလဲလဲ'); // ဥုံတလဲလဲဖွတလဲလဲ
```

- Detect Font

```
isZgOrUni('ခ်ယ္ရီ'); // output - zawgyi
```

Testing
-------

[](#testing)

You can run the tests with:

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Rabbit Converter](https://github.com/Rabbit-Converter/Rabbit-PHP)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 84.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~137 days

Recently: every ~280 days

Total

24

Last Release

56d ago

Major Versions

v0.2.2 → v2.0.32019-09-28

v0.2.3 → v2.0.42019-10-01

v2.x-dev → v3.0.02021-12-03

v3.1.1 → v4.0.02024-04-27

v3.x-dev → v4.1.02025-03-16

PHP version history (8 changes)v1.0.0PHP &gt;=7.0

v2.0PHP &gt;=7.1.3

v0.2.2PHP &gt;=5.5.6

v2.0.6PHP ^7.1.3

v2.0.7PHP ^7.1.3|^8.0

v3.0.0PHP ^7.4|^8.0

v3.1.1PHP ^8.0|^8.1|^8.2

v4.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/df0d5d9951712e7ff48fee3cf8767e4eefb48ef922c7661a13d802f30187ca82?d=identicon)[TintNaingWinn](/maintainers/TintNaingWinn)

---

Top Contributors

[![tintnaingwin](https://avatars.githubusercontent.com/u/13062143?v=4)](https://github.com/tintnaingwin "tintnaingwin (62 commits)")[![naingminkhant](https://avatars.githubusercontent.com/u/18085762?v=4)](https://github.com/naingminkhant "naingminkhant (11 commits)")

---

Tags

laravelunicodezawgyimyanmar-fontmyanfont

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tintnaingwin-myanfont/health.svg)

```
[![Health](https://phpackages.com/badges/tintnaingwin-myanfont/health.svg)](https://phpackages.com/packages/tintnaingwin-myanfont)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.8k28.9M627](/packages/spatie-laravel-data)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
