Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/duguying/pinyin-php

`pinyin-php` is a php extension which could translate Chinese character into Chinese PinYin.
https://github.com/duguying/pinyin-php

php-extension pinyin-php

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# pinyin-php #

----------

[![Build Status](https://drone.io/github.com/duguying/pinyin-php/status.png)](https://drone.io/github.com/duguying/pinyin-php/latest)
[![travis](https://api.travis-ci.org/duguying/pinyin-php.png)](https://travis-ci.org/duguying/pinyin-php)

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

## build and install ##
**linux**

build the extension

```shell
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

```

# License #

MIT License