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[1 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 2d ago

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

27

—

LowBetter than 49% of packages

Maintenance13

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

2610d 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

[velhron/dadata-bundle

DaData for Symfony

2076.6k](/packages/velhron-dadata-bundle)[phpcfdi/xml-cancelacion

Genera documentos de cancelación de CFDI firmados (XMLSEC)

1149.5k4](/packages/phpcfdi-xml-cancelacion)[pressbooks/pressbooks-aldine

Aldine is the default theme for the home page of Pressbooks networks. It is named for the Aldine Press, founded by Aldus Manutius in 1494, who is regarded by many as the world’s first publisher.

114.3k](/packages/pressbooks-pressbooks-aldine)

PHPackages © 2026

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