2017 © Pedro Peláez
 

library zh-conv

Traditional Chinese and Simplified Chinese Conversion base on wikimedia zhconv table

image

dreamsdrive/zh-conv

Traditional Chinese and Simplified Chinese Conversion base on wikimedia zhconv table

  • Saturday, July 19, 2014
  • by helloroy
  • Repository
  • 1 Watchers
  • 5 Stars
  • 427 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ZhConv

Traditional Chinese and Simplified Chinese Conversion base on wikimedia zhconv table, (*1)

Installation

Via composer

Add the package to your composer.json file:, (*2)

{
  "require": {
    "dreamsdrive/zh-conv": "*"
  }
}

Run composer update., (*3)

Usage

The following example describes basic usage., (*4)

<?php

require_once('vendor/autoload.php');
use DreamsDrive\ZhConv;

echo '<pre>';
echo ZhConv::get('HK','CN','「你們國家也有黑人嗎?」 布殊 ——2002年,巴西總統訪問美國。');
echo ZhConv::get('TW','CN','「你們國家也有黑人嗎?」 布希 ——2002年,巴西總統訪問美國。');
echo ZhConv::get('CN','HK','“你们国家也有黑人吗?” 布什 ——2002年,巴西总统访问美国。');
echo ZhConv::get('CN','TW','“你们国家也有黑人吗?” 布什 ——2002年,巴西总统访问美国。');
echo '</pre>';

?>

The Versions

19/07 2014

dev-master

9999999-dev

Traditional Chinese and Simplified Chinese Conversion base on wikimedia zhconv table

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Avatar Roy

conversion china chinese zhconv traditional simplified hong kong taiwan singapore

19/07 2014

1.0

1.0.0.0

Traditional Chinese and Simplified Chinese Conversion base on wikimedia zhconv table

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Avatar Roy

conversion china chinese zhconv traditional simplified hong kong taiwan singapore