Skip to content

LiXunGuan/pinyin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

汉字转拼音

安装

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

composer.phar install

获取拼音首字母

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

获取完整拼音

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

About

中文转拼音

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages