PHPackages                             bvtvd/number-conversion - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bvtvd/number-conversion

Active1[Utility &amp; Helpers](/categories/utility)

bvtvd/number-conversion
=======================

数字转中文, 中文转数字

1.0.2(7y ago)36171[2 issues](https://github.com/bvtvd/numberConversion/issues)[1 PRs](https://github.com/bvtvd/numberConversion/pulls)MITPHP

Since Mar 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bvtvd/numberConversion)[ Packagist](https://packagist.org/packages/bvtvd/number-conversion)[ RSS](/packages/bvtvd-number-conversion/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

- install

```
composer require bvtvd/number-conversion

```

- quick start

```
$conv = new bvtvd\NumberConversion();

// 数字转中文
$conv->numberToChinese(1001);    // 一千零一

// 中文转数字
$conv->chineseToNumber('一百');     // 100

```

```
NumberConversion($uppercase = false, $simple = true)

```

> 参数:
>
> - $uppercase: 是否使用大写中文数字
> - $simple: 数字简化, 会将 '一十一' 简化为 '十一', '五百二十' 简化为 '五百二'

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

2609d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23225b6e0e0176f501075de6474706f023b4ae9b5956a1a0b3f796b0c7087e85?d=identicon)[bvtvd](/maintainers/bvtvd)

---

Top Contributors

[![bvtvd](https://avatars.githubusercontent.com/u/18694985?v=4)](https://github.com/bvtvd "bvtvd (6 commits)")

### Embed Badge

![Health badge](/badges/bvtvd-number-conversion/health.svg)

```
[![Health](https://phpackages.com/badges/bvtvd-number-conversion/health.svg)](https://phpackages.com/packages/bvtvd-number-conversion)
```

###  Alternatives

[jalle19/php-yui-compressor

A modern PHP wrapper for the YUI compressor

17972.2k3](/packages/jalle19-php-yui-compressor)

PHPackages © 2026

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