PHPackages                             cyberwolf888/php-terbilang - 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. cyberwolf888/php-terbilang

ActiveLibrary

cyberwolf888/php-terbilang
==========================

Pustaka PHP Terbilang Dengan Kemampuan Hingga 108 Digit

2.0(11mo ago)05MITPHPPHP &gt;=5.4

Since May 26Pushed 11mo agoCompare

[ Source](https://github.com/cyberwolf888/php-terbilang)[ Packagist](https://packagist.org/packages/cyberwolf888/php-terbilang)[ Docs](https://github.com/cyberwolf888/php-terbilang)[ RSS](/packages/cyberwolf888-php-terbilang/feed)WikiDiscussions master Synced 1mo ago

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

php-terbilang
=============

[](#php-terbilang)

php-terbilang adalah sebuah pustaka yang berfungsi untuk mengubah angka menjadi huruf terbilang. php-terbilang ditulis dengan PHP dan dapat menerima masukan angka hingga 108 digit (999+ miliar [untrigintiliun](https://id.wikipedia.org/wiki/Daftar_bilangan_di_atas_triliun)). php-terbilang merupakan hasil port / adaptasi dari [Python Terbilang](https://github.com/cyberwolf888/terbilang).

Instalasi
---------

[](#instalasi)

```
composer require cyberwolf888/php-terbilang

```

Penggunaan
----------

[](#penggunaan)

```
require __DIR__ . '/vendor/autoload.php';
use Cyberwolf888\PHPTerbilang\Terbilang;

// Quick conversion with static method
echo Terbilang::convert('1234'); // "seribu dua ratus tiga puluh empat"

// For complex operations or multiple conversions
$t = new Terbilang();
$t->parse('1.000,50');
echo $t->getResult(); // "seribu koma lima nol"

// Chain methods
echo (new Terbilang())->parse('2500')->getResult(); // "dua ribu lima ratus"
```

php-terbilang dibuat agar memiliki jangkauan yang lebar, tetapi diharapkan dapat membaca angka dengan lebih *luwes*. Sebagai contoh, "1000 triliun" tidak dibaca sebagai "satu kuadriliun" tetapi "seribu triliun". Sedangkan "1000 juta" tentu akan dibaca sebagai "satu miliar". php-terbilang akan menampilkan tanda koma jika bilangan sudah mencapai triliunan atau lebih untuk meningkatkan keterbacaan:

```
$t->parse('19000000000000000000071000002011000000');
echo $t->getResult(); # sembilan belas undesiliun, tujuh puluh satu ribu triliun, dua miliar sebelas juta
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance54

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60% 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

4

Last Release

347d ago

Major Versions

1.0.x-dev → 2.02025-05-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d07576a00f65e6a90764540cbfaa6e3631504c19440ddcf9ad70132696e32e0?d=identicon)[cyberwolf888](/maintainers/cyberwolf888)

---

Top Contributors

[![nggit](https://avatars.githubusercontent.com/u/12218311?v=4)](https://github.com/nggit "nggit (6 commits)")[![cyberwolf888](https://avatars.githubusercontent.com/u/8720485?v=4)](https://github.com/cyberwolf888 "cyberwolf888 (2 commits)")[![SupianIDz](https://avatars.githubusercontent.com/u/37969970?v=4)](https://github.com/SupianIDz "SupianIDz (2 commits)")

### Embed Badge

![Health badge](/badges/cyberwolf888-php-terbilang/health.svg)

```
[![Health](https://phpackages.com/badges/cyberwolf888-php-terbilang/health.svg)](https://phpackages.com/packages/cyberwolf888-php-terbilang)
```

PHPackages © 2026

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