2017 © Pedro Peláez
 

library myanfont

Laravel Zawgyi <=> Unicode Package

image

tintnaingwin/myanfont

Laravel Zawgyi <=> Unicode Package

  • Friday, July 13, 2018
  • by TintNaingWinn
  • Repository
  • 2 Watchers
  • 2 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 22 % Grown

The README.md

Laravel Zawgyi Unicode Package

Latest Version on Packagist Laravel 11.x Laravel 12.x Total Downloads License, (*1)

Requirements

version-4.*

version-3.*

version-2.*

Unsupported since 27-4-2024 - PHP ^7.1.3|^8.0 - Laravel 5.6|5.7|5.8|6.x|7.x|8.x, (*2)

version-1.*

Unsupported since 27-4-2024 - PHP ^7.0 - Laravel 5.5|5.6|5.7|5.8, (*3)

version-0.*

Unsupported since 27-4-2024 - PHP ^5.5.6, (*4)

Read the extensive documentation on version 0.x and on version 1.x., (*5)

Installation

You can install this package via composer using this command:, (*6)

composer require tintnaingwin/myanfont:"~4.0"

The package will automatically register itself., (*7)

Usage

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

  • Unicode to Zawgyi
uni2zg('ဥုံတလဲလဲဖွတလဲလဲ'); // ဥဳံတလဲလဲဖြတလဲလဲ
  • Zawgyi to Unicode
zg2uni('ဥဳံတလဲလဲဖြတလဲလဲ'); // ဥုံတလဲလဲဖွတလဲလဲ
  • Detect Font
isZgOrUni('ခ်ယ္ရီ'); // output - zawgyi

Testing

You can run the tests with:, (*8)

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently., (*9)

Contributing

Please see CONTRIBUTING for details., (*10)

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities., (*11)

Credits

License

The MIT License (MIT). Please see License File for more information., (*12)

The Versions

13/07 2018

dev-master

9999999-dev https://github.com/tintnaingwinn/MyanFont

Laravel Zawgyi <=> Unicode Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tint Naing Win

13/07 2018

v1.0.0

1.0.0.0 https://github.com/tintnaingwinn/MyanFont

Laravel Zawgyi <=> Unicode Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tint Naing Win

09/08 2017

v0.2.1

0.2.1.0

Laravel Zawgyi <-> Unicode Package

  Sources   Download

MIT

The Requires

 

by Tint Naing Win

09/08 2017

v0.2.0

0.2.0.0

Laravel Zawgyi <-> Unicode Package

  Sources   Download

MIT

The Requires

 

by Tint Naing Win

09/08 2017

v0.1.0

0.1.0.0

Laravel Zawgyi <-> Unicode Package

  Sources   Download

MIT

The Requires

 

by Tint Naing Win