PHPackages                             code-lives/alphabet - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. code-lives/alphabet

ActiveLibrary

code-lives/alphabet
===================

this is Chinese alphabet

1.0(5y ago)1329MITPHP

Since Mar 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/code-lives/alphabet)[ Packagist](https://packagist.org/packages/code-lives/alphabet)[ RSS](/packages/code-lives-alphabet/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

中文转字母
=====

[](#中文转字母)

```
$PinYin = new \PinYin\PinYin();
```

全部拼音
----

[](#全部拼音)

```
$PinYin->convertPinyin("中国人");

输出 zhongguoren
```

全拼用\_隔开
-------

[](#全拼用_隔开)

```
$PinYin->convertPinyinList("中国人");

输出
Array
(
    [0] => zhong_guo_ren
)
```

中文转首字母
------

[](#中文转首字母)

```
$PinYin->convertInitalPinyin("中国人");

输出 zgr
```

这是首字母
-----

[](#这是首字母)

```
$PinYin->convertInitalPinyinList("中国人");

输出
Array
(
    [0] => zgr
)
```

首字母+全字母用 — 隔开
-------------

[](#首字母全字母用--隔开)

```
$PinYin->convertAllPinyinList('中国人', '_');

输出
Array
(
    [full] => Array
        (
            [0] => zhong_guo_ren
        )
    [inital] => Array
        (
            [0] => z_g_r
        )
)
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1897d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/66c8ab94602f8fde6cbb339ec8b9b0dbd178b1aeab8973d957e3903d14e2b7be?d=identicon)[code-lives](/maintainers/code-lives)

---

Top Contributors

[![code-lives](https://avatars.githubusercontent.com/u/79346591?v=4)](https://github.com/code-lives "code-lives (2 commits)")

### Embed Badge

![Health badge](/badges/code-lives-alphabet/health.svg)

```
[![Health](https://phpackages.com/badges/code-lives-alphabet/health.svg)](https://phpackages.com/packages/code-lives-alphabet)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
