PHPackages                             nineteenfeet/nf-number-to-word - 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. nineteenfeet/nf-number-to-word

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

nineteenfeet/nf-number-to-word
==============================

Convert a number into its word representation. e.g. 1 =&gt; one

2.0.0(2y ago)525.9k1MITPHPPHP &gt;=8.1

Since Jun 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/19FT/NFNumberToWord)[ Packagist](https://packagist.org/packages/nineteenfeet/nf-number-to-word)[ Docs](http://github.com/19FT/NFNumberToWord)[ RSS](/packages/nineteenfeet-nf-number-to-word/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (6)Used By (0)

NFNumberToWord
==============

[](#nfnumbertoword)

This component provides a means to convert numeric number (e.g. `1023`) to a string of works (e.g. `one thousand and twenty three`). It also provides a laminas-view helper called *numberToWord*.

Installation with Composer
--------------------------

[](#installation-with-composer)

```
$ composer require "nineteenfeet/nf-number-to-word"

```

Usage
-----

[](#usage)

```
use NFNumberToWord\NumberToWords;

$number = 1999;

$numberToWords = new NumberToWords();
$string = $numberToWords->toWords($number);
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 95.8% 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 ~912 days

Total

5

Last Release

1061d ago

Major Versions

1.2.0 → 2.0.02023-06-16

PHP version history (2 changes)1.0.0PHP &gt;=5.3.3

2.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33135?v=4)[Rob Allen](/maintainers/akrabat)[@akrabat](https://github.com/akrabat)

![](https://www.gravatar.com/avatar/ab0a30e5367423f8390e30de3f9b15d9f3bd19c55ced9459352eefa8a977832e?d=identicon)[19ft](/maintainers/19ft)

---

Top Contributors

[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (23 commits)")[![BrekiTomasson](https://avatars.githubusercontent.com/u/7026735?v=4)](https://github.com/BrekiTomasson "BrekiTomasson (1 commits)")

---

Tags

conversionwordnumber

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nineteenfeet-nf-number-to-word/health.svg)

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

###  Alternatives

[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k9.2M108](/packages/cuyz-valinor)[florianv/swap

Exchange rates library for PHP

1.3k6.4M16](/packages/florianv-swap)[spatie/color

A little library to handle color conversions

38018.9M28](/packages/spatie-color)[kwn/number-to-words

Multi language standalone PHP number to words converter. Fully tested, open for extensions and new languages.

4235.0M21](/packages/kwn-number-to-words)[php-units-of-measure/php-units-of-measure

A PHP library for converting between standard units of measure.

3123.4M20](/packages/php-units-of-measure-php-units-of-measure)[florianv/laravel-swap

Currency exchange rates library for Laravel and Lumen

3342.0M2](/packages/florianv-laravel-swap)

PHPackages © 2026

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