PHPackages                             earpengai/convert-to-khmer - 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. earpengai/convert-to-khmer

ActiveLibrary

earpengai/convert-to-khmer
==========================

Convert Number to Khmer language.

v1.0.0(4y ago)2131MITPHPPHP &gt;=7.1.3

Since Apr 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Earpengai/ConvertToKhmer)[ Packagist](https://packagist.org/packages/earpengai/convert-to-khmer)[ RSS](/packages/earpengai-convert-to-khmer/feed)WikiDiscussions master Synced 3d ago

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

The PHP library for convert number to Khmer word.
=================================================

[](#the-php-library-for-convert-number-to-khmer-word)

[![PHP Composer](https://github.com/Earpengai/ConvertToKhmer/actions/workflows/php.yml/badge.svg)](https://github.com/Earpengai/ConvertToKhmer/actions/workflows/php.yml)

Package help you to convert number to khmer word.

Requirements
------------

[](#requirements)

- PHP 7.0 or higher

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

[](#installation)

Official installation method is via composer and its packagist package [ConvertToKhmer](https://packagist.org/packages/earpengai/convert-to-khmer).

```
composer require earpengai/convert-to-khmer
```

Usage
-----

[](#usage)

The simplest using of the library would be as follows: Firstly, you can import or instance class

```
use ConvertToKhmer\NumberToKhmerWords;
```

For example:

```
$NumberToKhmerWord = new NumberToKhmerWords();

$NumberToKhmerWord->numberToWord(123456789); //មួយរយម្ភៃបីលានបួនសែនប្រាំម៉ឺនប្រាំមួយពាន់ប្រាំពីររយប៉ែតសិបប្រាំបួន
$NumberToKhmerWord->accNumberToWord(123456789); //មួយរយម្ភៃបីលានបួនរយហាសិបប្រាំមួយពាន់ប្រាំពីររយប៉ែតសិបប្រាំបួន
```

```
NumberToKhmerWords::instance()->numberToWord(987654321); //ប្រាំបួនរយប៉ែតសិបប្រាំពីរលានប្រាំមួយសែនប្រាំម៉ឺនបួនពាន់បីរយម្ភៃមួយ
NumberToKhmerWords::instance()->accNumberToWord(987654321); //ប្រាំបួនរយប៉ែតសិបប្រាំពីរលានប្រាំមួយរយហាសិបបួនពាន់បីរយម្ភៃមួយ
```

License
-------

[](#license)

This package operates under the MIT License (MIT). See the [LICENSE](https://github.com/Earpengai/ConvertToKhmer/edit/master/LICENSE.txt) file for details.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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

1476d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f15ccd7f5fa0a42ec041c552e3244c133f5efebc7d1093d9e4aacbcb4d57c57?d=identicon)[Earpengai](/maintainers/Earpengai)

---

Top Contributors

[![Earpengai](https://avatars.githubusercontent.com/u/34761649?v=4)](https://github.com/Earpengai "Earpengai (16 commits)")

### Embed Badge

![Health badge](/badges/earpengai-convert-to-khmer/health.svg)

```
[![Health](https://phpackages.com/badges/earpengai-convert-to-khmer/health.svg)](https://phpackages.com/packages/earpengai-convert-to-khmer)
```

PHPackages © 2026

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