🇨🇳 基于词库的中文转拼音优质解决方案
Pinyin::abbr
新增第三个参数 bool $preserveEnglishWords = false
, 以保留输入内容的英文单词 #199
Full Changelog: https://github.com/overtrue/pinyin/compare/5.3.1...5.3.2
Fixed 「仆区」应该读 pú ōu 而非 pú qū #200
Full Changelog: https://github.com/overtrue/pinyin/compare/5.3.0...5.3.1
Full Changelog: https://github.com/overtrue/pinyin/compare/5.2.2...5.3.0
Full Changelog: https://github.com/overtrue/pinyin/compare/5.2.1...5.2.2
Fixed #196
Full Changelog: https://github.com/overtrue/pinyin/compare/5.2.0...5.2.1
Pinyin::polyphonesAsArray
方法,支持多音字逐字返回,#195Full Changelog: https://github.com/overtrue/pinyin/compare/5.1.1...5.2.0
What's changed
Full Changelog: https://github.com/overtrue/pinyin/compare/4.0.8...4.1.0
What's Changed
Full Changelog: https://github.com/overtrue/pinyin/compare/5.1.0...5.1.1
Pinyin::passportName(string $name, string $toneStyle = Converter::TONE_STYLE_NONE)
方法,使用 yu
代替 ü
输出。Full Changelog: https://github.com/overtrue/pinyin/compare/5.0.0...5.1.0
BREAKING CHANGES
Warning Completely refactored version, recommended to read the documentation before use.