PHPackages                             oliversarfas/number-to-words - 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. oliversarfas/number-to-words

ActiveLibrary

oliversarfas/number-to-words
============================

Laravel Wrapper for kwn/number-to-words

v3.1(3y ago)345.4k2MITPHPPHP ^8.1CI failing

Since Jan 27Pushed 3y ago3 watchersCompare

[ Source](https://github.com/cleveregg-digital/number-to-words)[ Packagist](https://packagist.org/packages/oliversarfas/number-to-words)[ Docs](https://github.com/cleveregg-digital/number-to-words)[ RSS](/packages/oliversarfas-number-to-words/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

Laravel Facade to convert from numbers to human readable text
=============================================================

[](#laravel-facade-to-convert-from-numbers-to-human-readable-text)

[![Total Downloads](https://camo.githubusercontent.com/c456318b40f790effb15228223fdb9faa15a10f0f241ccd021265ea8959d68aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6c697665727361726661732f6e756d6265722d746f2d776f7264732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cleveregg-digital/number-to-words)

PHP 8.x and Laravel Wrapper for [kwn/number-to-words](https://github.com/kwn/number-to-words)

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

[](#installation)

You can install the package via composer:

```
composer require cleveregg-digital/number-to-words
```

Usage
-----

[](#usage)

To convert your number to words, simply call the static function on the `NumberToWords` facade.

```
\NumberToWords::toWords(5120); // outputs "five thousand one hundred twenty"
```

If you'd like to change the language, add the RFC 3066 language identifier in as a parameter.

```
\NumberToWords::toWords(5120, 'es'); // outputs "cinco mil ciento veinte"
```

To add currency, supply the ISO 4217 currency identifier

```
\NumberToWords::toWords(512000, 'en', 'USD'); // outputs "five thousand one hundred twenty dollars"
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Oliver Sarfas](https://github.com/oliversarfas)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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 ~231 days

Recently: every ~289 days

Total

6

Last Release

1139d ago

Major Versions

v0.1 → v1.0.02020-01-27

v1.1.x-dev → v2.02020-01-29

v2.0 → v3.02023-03-31

PHP version history (2 changes)v0.1PHP ^7.2

v3.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/198eec0862b22c2f4676de4fa23544cf29f4e5c37fc455f492d96be592ecca06?d=identicon)[oliversarfas](/maintainers/oliversarfas)

---

Top Contributors

[![oliversarfas](https://avatars.githubusercontent.com/u/12659572?v=4)](https://github.com/oliversarfas "oliversarfas (19 commits)")

---

Tags

number to wordscleveregg-digital

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oliversarfas-number-to-words/health.svg)

```
[![Health](https://phpackages.com/badges/oliversarfas-number-to-words/health.svg)](https://phpackages.com/packages/oliversarfas-number-to-words)
```

###  Alternatives

[riskihajar/terbilang

Number to words conversion support multi language.

134159.5k](/packages/riskihajar-terbilang)[phpviet/number-to-words

Thư viện hổ trợ chuyển đổi số sang chữ số.

219.1k5](/packages/phpviet-number-to-words)[ntwindia/ntwindia

Convert number to word in Indian English.

1212.9k1](/packages/ntwindia-ntwindia)

PHPackages © 2026

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