2017 © Pedro Peláez
 

library zhlangconverter

image

zqhong/zhlangconverter

  • Friday, June 16, 2017
  • by zqhong
  • Repository
  • 1 Watchers
  • 1 Stars
  • 248 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 12 % Grown

The README.md

ZhLangConverter - 简体繁体转换库

使用

<?php
require __DIR__ . '/vendor/autoload.php';

// 参数二为可选值,默认为 zh-hk。取值范围:zh-tw、zh-hk、zh-mo
echo simplified2Traditional('夸夸其谈', 'zh-hk') . PHP_EOL;

// 参数二为可选值,默认为 zh-cn。取值范围:zh-cn、zh-sg
echo traditional2Simplified('我幹什麼不干你事', 'zh-cn') . PHP_EOL;

// 输出结果:
// 誇誇其談
// 我干什麽不干你事

The Versions

16/06 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Development Requires

by Avatar zqhong

16/06 2017

v0.1.0

0.1.0.0

  Sources   Download

MIT

The Development Requires

by Avatar zqhong