PHPackages                             chitwarnold/n2w - 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. chitwarnold/n2w

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

chitwarnold/n2w
===============

PHP Library for Spelling Numbers into Words. Give it an integer value like 50, and it returns the words Fifty

1.0.4(8y ago)217BSDPHPPHP &gt;=5.6.0

Since Jun 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/chitwarnold/n2w)[ Packagist](https://packagist.org/packages/chitwarnold/n2w)[ RSS](/packages/chitwarnold-n2w/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

PHP Number to Words By Gomersol Technologies ()
====================================================================

[](#php-number-to-words-by-gomersol-technologies-httpgomersolcom)

This library will allows you to spell various numeric values from 0 to 999,999,999,999.00 in the various languages. For now the library is only supporting the English Language. In the next few monts we hope to add support for Swahili,French, German, Spanish.

The library was prepared to help with displaying the spelling of various numbers when printing on cheques. Please highlight other use cases on the comments and submits any issues you get while using this library. Godspeed.

For license information check the [LICENSE](LICENSE.md)-file.

**joke**If only president Zuma has his speech writers using this class, the whole [President Zuma ANC Numbers Challenge](https://www.youtube.com/watch?v=nqNa6992ih4) Would not have happenned.**lol**

You can also access some of my other repositories on my [Packagist Profile](https://packagist.org/packages/chitwarnold/).

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

[](#installation)

The preferred way to install this library is through [composer](http://getcomposer.org/download/).

Either run

```
composer require chitwarnold/n2w

```

or add

```
"chitwarnold/ais": "~1.0.4",
```

to the require section of your composer.json.

Demonstration
-------------

[](#demonstration)

```
#import the libraries
use chitwarnold\n2w\en\N2w;
use chitwarnold\n2w\en\readers\N2wReaders;

# get some spellcheck done
$_spelling_bee = new N2w();
$decimal_point  = 2;
$start = 100;
$stop = 200;
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++".PHP_EOL;
echo "| Range Counting challenge From $start to $stop |".PHP_EOL;
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++".PHP_EOL;

for($i = $start; $i updateChallenge($i,$decimal_point)->spell();
    echo "$i."." ".$spell.PHP_EOL;
}

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

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

Total

2

Last Release

3224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f554008c90abc26d033e80d43b50e7215d7e7311a2d66ed411d9573fde6a48f?d=identicon)[chitwarnold](/maintainers/chitwarnold)

---

Top Contributors

[![chitwarnold](https://avatars.githubusercontent.com/u/1483375?v=4)](https://github.com/chitwarnold "chitwarnold (106 commits)")

### Embed Badge

![Health badge](/badges/chitwarnold-n2w/health.svg)

```
[![Health](https://phpackages.com/badges/chitwarnold-n2w/health.svg)](https://phpackages.com/packages/chitwarnold-n2w)
```

PHPackages © 2026

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