PHPackages                             coreer/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. coreer/number-to-words

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

coreer/number-to-words
======================

Convert numbers to words in English or German.

1.0.0(3y ago)117MITPHPPHP &gt;=7.4 | &gt;=8

Since Feb 5Pushed 3y agoCompare

[ Source](https://github.com/COREER-GmbH/number-to-words)[ Packagist](https://packagist.org/packages/coreer/number-to-words)[ Docs](https://github.com/coreer/number-to-words)[ RSS](/packages/coreer-number-to-words/feed)WikiDiscussions master Synced 1mo ago

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

number-to-words
===============

[](#number-to-words)

- updated for PHP 8

Convert numbers to words in English or German.

Install via Composer
--------------------

[](#install-via-composer)

```
$ composer require coreer/number-to-words
```

How to use
----------

[](#how-to-use)

English
-------

[](#english)

```
use NumberToWords\NumberToWords;
use NumberToWords\Locale\English;

$c = new NumberToWords(new English()); // english

// One followed by 3003 zeros
echo $c->nameOfLargeNumber(3003); // outputs "millinillion"

echo $n->convert('3043.43'); // outputs "three thousand forty-three point four three"
echo $n->convert('3.1415926535'); // outputs "three point one four one five nine two six five three five"
```

German
------

[](#german)

```
use NumberToWords\NumberToWords;
use NumberToWords\Locale\German;

$c = new NumberToWords(new German()); // german

// Eine Eins gefolgt von 6000 Nullen
echo $c->nameOfLargeNumber(6000); // outputs "Millinillion"

// Eine Eins gefolgt von 59994 Nullen
echo $c->nameOfLargeNumber(59994); // outputs "Nonillinovenonagintanongentillion"

echo $n->convert('509324'); // outputs "fünfhundertneuntausenddreihundertvierundzwanzig"
echo $n->convert('3,1415926535'); // outputs "drei Komma eins vier eins fünf neun zwei sechs fünf drei fünf"
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

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

1190d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb9c419e0fe8b7446fed93e3f86238b27b3f712d5a8efaf1937ab416b46a32c5?d=identicon)[haraldernst](/maintainers/haraldernst)

---

Top Contributors

[![patrickschur](https://avatars.githubusercontent.com/u/18181635?v=4)](https://github.com/patrickschur "patrickschur (27 commits)")[![haraldernst](https://avatars.githubusercontent.com/u/1819412?v=4)](https://github.com/haraldernst "haraldernst (3 commits)")

---

Tags

convertwordsnumbersto

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[doctrine/inflector

PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.

11.4k855.8M711](/packages/doctrine-inflector)[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)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[coduo/php-to-string

Simple library that converts PHP value into strings

27112.7M10](/packages/coduo-php-to-string)[misd/linkify

Converts URLs and email addresses in text into HTML links

1122.9M10](/packages/misd-linkify)

PHPackages © 2026

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