All Projects → duguying → Pinyin Php

duguying / Pinyin Php

Licence: mit
`pinyin-php` is a php extension which could translate Chinese character into Chinese PinYin.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Pinyin Php

secp256k1-php
PHP bindings for bitcoin-core/secp256k1
Stars: ✭ 55 (+111.54%)
Mutual labels:  php-extension
ext-chunkutils2
PHP extension in C++ implementing the modern Minecraft: Bedrock subchunk format for PocketMine-MP 4.0
Stars: ✭ 26 (+0%)
Mutual labels:  php-extension
Php7 Extension Explore
全网唯一PHP7扩展开发教程
Stars: ✭ 402 (+1446.15%)
Mutual labels:  php-extension
php-rar
PECL rar extension
Stars: ✭ 35 (+34.62%)
Mutual labels:  php-extension
relay
The next-generation caching layer for PHP.
Stars: ✭ 21 (-19.23%)
Mutual labels:  php-extension
Study
手把手教你写PHP协程扩展(teach you to write php coroutine extension by hand)
Stars: ✭ 285 (+996.15%)
Mutual labels:  php-extension
tast-process
An extension providing multi process for PHP 7
Stars: ✭ 27 (+3.85%)
Mutual labels:  php-extension
Php Opencv
PHP extensions for OpenCV
Stars: ✭ 524 (+1915.38%)
Mutual labels:  php-extension
panda
A simple extension for PHP
Stars: ✭ 45 (+73.08%)
Mutual labels:  php-extension
Php Vips
php binding for libvips
Stars: ✭ 296 (+1038.46%)
Mutual labels:  php-extension
Dev-Tools-Magento-2-Module
A collection of utilities meant to improve the experience of developing modules for Magento without breaking existing functionality.
Stars: ✭ 18 (-30.77%)
Mutual labels:  php-extension
php aho corasick
Aho-Corasick string search algorithm PHP extension implementation.
Stars: ✭ 45 (+73.08%)
Mutual labels:  php-extension
Zephir
Zephir is a compiled high level language aimed to the creation of C-extensions for PHP.
Stars: ✭ 3,086 (+11769.23%)
Mutual labels:  php-extension
RapidPM
High performance extension that implements parts of PocketMine-MP (PMMP) with Zephir
Stars: ✭ 31 (+19.23%)
Mutual labels:  php-extension
Zan
高效稳定、安全易用、线上实时验证的全异步高性能网络库,通过PHP扩展方式使用。
Stars: ✭ 453 (+1642.31%)
Mutual labels:  php-extension
PHP-CPP-documentation
The documentation in chinese of PHP-CPP.
Stars: ✭ 35 (+34.62%)
Mutual labels:  php-extension
raylib-php
PHP 8 Bindings to raylib
Stars: ✭ 112 (+330.77%)
Mutual labels:  php-extension
Wasmer Php
🐘🕸️ WebAssembly runtime for PHP
Stars: ✭ 796 (+2961.54%)
Mutual labels:  php-extension
Libsodium Php
The PHP extension for libsodium.
Stars: ✭ 507 (+1850%)
Mutual labels:  php-extension
Skyapm Php Sdk
The PHP instrument agent for Apache SkyWalking
Stars: ✭ 292 (+1023.08%)
Mutual labels:  php-extension

pinyin-php


Build Status travis

pinyin-php is a php extension which could translate Chinese character into Chinese PinYin.

build and install

linux

build the extension

phpize
configure
make
make test

configuration

add following into php.ini

pinyin.chars=/path/to/chars.csv
pinyin.words=/path/to/words.csv
pinyin.locale="en_GB.UTF-8"		[optional]

usage

<?php
echo pinyin("汉"),"\n";
echo pinyin("わたしわ阿飞, and my English name is Rex Lee. 网名是独孤影! ^_^。下面是一段多音分词歧义测试,这个人无伤无臭味。"),"\n";
?>

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].