PHPackages                             mouson/chinese-numerals - 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. mouson/chinese-numerals

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

mouson/chinese-numerals
=======================

阿拉伯數字轉換中文數字工具 PHP Arabic numerals converted to Chinese numerals tools.

1.0.1(10y ago)55.9k1MITPHPPHP &gt;= 5.3

Since May 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mouson/chinese-numerals)[ Packagist](https://packagist.org/packages/mouson/chinese-numerals)[ RSS](/packages/mouson-chinese-numerals/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

PHP Arabic numerals converted to Chinese numerals tools.
========================================================

[](#php-arabic-numerals-converted-to-chinese-numerals-tools)

[![Packagist](https://camo.githubusercontent.com/5c387736274a92690ee97436a6376a748e16be4975ee14526b66dfe7783279a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f646f637472696e652f6f726d2e7376673f6d61784167653d32353932303030)](https://raw.githubusercontent.com/mouson/chinese-numerals/master/LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/404a91dd97d1dc28b2d996d84e952d6954bb9ae9ee519bc48fd42e5acf52709d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f75736f6e2f6368696e6573652d6e756d6572616c732e7376673f7374796c653d666c6174)](https://packagist.org/packages/mouson/chinese-numerals)[![Build Status](https://camo.githubusercontent.com/0bd003098cf67c1c7c3c3238fd39c2ba19962aa6c5bf97bfd88d9e6c4fe067e4/68747470733a2f2f7472617669732d63692e6f72672f6d6f75736f6e2f6368696e6573652d6e756d6572616c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mouson/chinese-numerals)

Introduction
------------

[](#introduction)

The PHP arabic numerals converted to Chinese numerals tools.

Installation
------------

[](#installation)

Run this command to add this library to your `composer.json` file:

```
composer require mouson/chinese-numerals

```

Quick Start Guide
-----------------

[](#quick-start-guide)

### use

[](#use)

```
use Mouson\Helpers\ChineseNumericHelper;
```

### arabic numerals converted to lower case chinese numerals

[](#arabic-numerals-converted-to-lower-case-chinese-numerals)

```
$chinese = ChineseNumericHelper::Numeric2Chinese(123);
echo $chinese; \\ 一百二十三
```

### arabic numerals converted to upper case chinese numerals

[](#arabic-numerals-converted-to-upper-case-chinese-numerals)

```
$chinese = ChineseNumericHelper::Numeric2Chinese(123, true);
echo $chinese; \\ 壹佰貳拾參
```

---

阿拉伯數字轉換為中文數字工具
==============

[](#阿拉伯數字轉換為中文數字工具)

簡介
--

[](#簡介)

一個阿拉伯數字轉換為中文數字的工具。

安裝
--

[](#安裝)

執行以下指令將此套件加入到 `composer.json` 檔案:

```
composer require mouson/chinese-numerals

```

使用
--

[](#使用)

### 引用

[](#引用)

```
use Mouson\Helpers\ChineseNumericHelper;
```

### 小寫中文轉換

[](#小寫中文轉換)

```
$chinese = ChineseNumericHelper::Numeric2Chinese(123);
echo $chinese; \\ 一百二十三
```

### 大寫中文轉換

[](#大寫中文轉換)

```
$chinese = ChineseNumericHelper::Numeric2Chinese(123, true);
echo $chinese; \\ 壹佰貳拾參
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

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

Every ~0 days

Total

2

Last Release

3655d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/858588?v=4)[mouson](/maintainers/mouson)[@mouson](https://github.com/mouson)

---

Top Contributors

[![mouson](https://avatars.githubusercontent.com/u/858588?v=4)](https://github.com/mouson "mouson (11 commits)")

---

Tags

helperconverter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mouson-chinese-numerals/health.svg)

```
[![Health](https://phpackages.com/badges/mouson-chinese-numerals/health.svg)](https://phpackages.com/packages/mouson-chinese-numerals)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M686](/packages/barryvdh-laravel-ide-helper)[mark-gerarts/auto-mapper-plus

An AutoMapper for PHP

5623.2M21](/packages/mark-gerarts-auto-mapper-plus)[matthiasmullie/path-converter

Relative path converter

10229.6M7](/packages/matthiasmullie-path-converter)[ncjoes/office-converter

PHP Wrapper for LibreOffice

2431.2M4](/packages/ncjoes-office-converter)[beste/json

A simple JSON helper to decode and encode JSON

4222.7M3](/packages/beste-json)[chillerlan/php-settings-container

A container class for immutable settings objects. Not a DI container.

3427.3M21](/packages/chillerlan-php-settings-container)

PHPackages © 2026

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