lixunguan/pinyin

chinese to pinyin

Installs: 25

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/lixunguan/pinyin

1 2014-10-06 04:54 UTC

This package is not auto-updated.

Last update: 2025-09-30 09:42:53 UTC


README

安装

添加 "lixunguan/pinyin": "*"composer.json.

composer.phar install

获取拼音首字母

  return Pinyin::make('我们')->firstLetter(); // 输出 wm

获取完整拼音

  return Pinyin::make('我们')->full(); // 输出 women