rabbit-converter/rabbit-php
Composer 安装命令:
composer require rabbit-converter/rabbit-php
包简介
Another Zawgyi <=> Unicode Converter
README 文档
README
Another Zawgyi <=> Unicode Converter for composer packagist
About
Zawgyi to Unicode has been written in 2011. Now, unicode to zawgyi has been finished.
Motivation. Why another converter ?
When I was writting ZG2uni, Parabaik was not opensource. At that time, I need to use for MYSTERY ZILLION for converting the whole database to Unicode.
For Unicode to Zawgyi, Parabaik is under the GPL license and cannot use in iOS app and Android App LGPL. So, I decided to write new one with WTFPL license. This library is under MIT License.
I cannot promise , it's correct 100% after converting.
If you are not using in app or program and just for converting the text , please use Parabaik
Installation
Install using composer:
composer require "rabbit-converter/rabbit-php:dev-master"
Usage
Rabbit::zg2uni("သီဟိုဠ္မွ ဉာဏ္ႀကီးရွင္သည္ အာယုဝဍ္ဎနေဆးၫႊန္းစာကို ဇလြန္ေဈးေဘးဗာဒံပင္ထက္ အဓိ႒ာန္လ်က္ ဂဃနဏဖတ္ခဲ့သည္။"); Rabbit::uni2zg("သီဟိုဠ်မှ ဉာဏ်ကြီးရှင်သည် အာယုဝဍ်ဎနဆေးညွှန်းစာကို ဇလွန်ဈေးဘေးဗာဒံပင်ထက် အဓိဋ္ဌာန်လျက် ဂဃနဏဖတ်ခဲ့သည်။");
Contributing
- Fork it ( https://github.com/Rabbit-Converter/Rabbit-PHP )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
License
MIT
统计信息
- 总下载量: 13.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 29
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-17