PHPackages                             longxinhong/wecom - 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. longxinhong/wecom

ActiveLibrary

longxinhong/wecom
=================

企业微信内部开发

1.2(5y ago)012MITPHP

Since Dec 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/longxinhong/Wecom)[ Packagist](https://packagist.org/packages/longxinhong/wecom)[ RSS](/packages/longxinhong-wecom/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

Hanzi
=====

[](#hanzi)

获取汉字的拼音, 或者简繁体转换

安装方法
====

[](#安装方法)

命令行下, 执行 composer 命令安装:

```
composer require fengqi/hanzi

```

使用示例
====

[](#使用示例)

```
use fengqi\Hanzi\Hanzi;

$chs = '中国人';
$cht = '中國人';

// 简繁体获取拼音
var_dump(Hanzi::pinyin($chs));
var_dump(Hanzi::pinyin($cht));

// 简繁体转换
var_dump(Hanzi::turn($chs));
var_dump(Hanzi::turn($cht, true));

```

关于部分无法正确转换
==========

[](#关于部分无法正确转换)

> 可以自行补充 src/ 下 Dict.php 中的字典

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~0 days

Total

3

Last Release

1979d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3ab847b539e4f2b414c1e92f57ec6889619d82d1c09dd913cdf55e303ca2691?d=identicon)[longxinhong](/maintainers/longxinhong)

---

Top Contributors

[![longxinhong](https://avatars.githubusercontent.com/u/30366837?v=4)](https://github.com/longxinhong "longxinhong (3 commits)")

### Embed Badge

![Health badge](/badges/longxinhong-wecom/health.svg)

```
[![Health](https://phpackages.com/badges/longxinhong-wecom/health.svg)](https://phpackages.com/packages/longxinhong-wecom)
```

PHPackages © 2026

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