PHPackages                             jurchiks/numbers2words - 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. jurchiks/numbers2words

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

jurchiks/numbers2words
======================

It spells numbers (and currencies)!

2.9.0(4y ago)20185.6k↓64.1%18[1 issues](https://github.com/jurchiks/numbers2words/issues)3MITPHPPHP &gt;=7.1

Since Sep 22Pushed 4y ago2 watchersCompare

[ Source](https://github.com/jurchiks/numbers2words)[ Packagist](https://packagist.org/packages/jurchiks/numbers2words)[ RSS](/packages/jurchiks-numbers2words/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)DependenciesVersions (28)Used By (3)

numbers2words
=============

[](#numbers2words)

This is a general-purpose library meant for number spelling for use in, e.g. legal documents and bills.

[![License](https://camo.githubusercontent.com/6dfcbec68820e6f1c24d77eb0515a52a45a4d18d593e399f02889f02bd426ecd/68747470733a2f2f706f7365722e707567782e6f72672f6a75726368696b732f6e756d6265727332776f7264732f6c6963656e7365)](https://packagist.org/packages/jurchiks/numbers2words)[![Downloads](https://camo.githubusercontent.com/aab8eb5963c7e57e13b172db0a050603d6a4c738a194b438235aaf6cdfae9b75/68747470733a2f2f706f7365722e707567782e6f72672f6a75726368696b732f6e756d6265727332776f7264732f646f776e6c6f616473)](https://packagist.org/packages/jurchiks/numbers2words)

Supported languages (ISO 639-1 language codes):

- English (`en`)
- Estonian (`et`)
- Latvian (`lv`)
- Lithuanian (`lt`)
- Russian (`ru`)
- Spanish (`es`)
- Italian (`it`)
- Polish (`pl`)

Supported currencies (ISO 4217 currency codes):

- British Pounds (`GBP`)
- Euro (`EUR`)
- Latvian Lats (`LVL`)
- Lithuanian Lits (`LTL`)
- Russian Roubles (`RUR`)
- U.S. Dollars (`USD`)
- Polish Zloty (`PLN`)
- Tanzanian Shillings (`TZS`)

#### Installation:

[](#installation)

```
composer require jurchiks/numbers2words

```

#### Usage:

[](#usage)

```
use js\tools\numbers2words\Speller;

Speller::spellNumber(123, Speller::LANGUAGE_RUSSIAN);
// output: сто двадцать три
Speller::spellCurrency(123, Speller::LANGUAGE_ENGLISH, Speller::CURRENCY_EURO, false);
// output: one hundred twenty three euro
Speller::spellCurrency(123, Speller::LANGUAGE_ENGLISH, Speller::CURRENCY_EURO);
// output: one hundred twenty three euro and 0 cents
Speller::spellCurrency(123.45, Speller::LANGUAGE_ENGLISH, Speller::CURRENCY_EURO, true, true);
// output: one hundred twenty three euro and forty five cents
Speller::spellCurrencyShort(123.45, Speller::LANGUAGE_ENGLISH, Speller::CURRENCY_EURO);
// output: one hundred twenty three EUR 45/100
```

#### Twig:

[](#twig)

There is a Twig extension available for this library: [jurchiks/numbers2words\_twig](https://github.com/jurchiks/numbers2words_twig)

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 92% 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 ~91 days

Recently: every ~112 days

Total

27

Last Release

1572d ago

Major Versions

1.0.2 → 2.0.02015-09-26

### Community

Maintainers

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

---

Top Contributors

[![jurchiks](https://avatars.githubusercontent.com/u/542788?v=4)](https://github.com/jurchiks "jurchiks (81 commits)")[![emma255](https://avatars.githubusercontent.com/u/26738290?v=4)](https://github.com/emma255 "emma255 (1 commits)")[![erop](https://avatars.githubusercontent.com/u/124678?v=4)](https://github.com/erop "erop (1 commits)")[![icyz](https://avatars.githubusercontent.com/u/1923633?v=4)](https://github.com/icyz "icyz (1 commits)")[![mrjanczak](https://avatars.githubusercontent.com/u/6569984?v=4)](https://github.com/mrjanczak "mrjanczak (1 commits)")[![spaivaras](https://avatars.githubusercontent.com/u/1462984?v=4)](https://github.com/spaivaras "spaivaras (1 commits)")[![edgarsstrods](https://avatars.githubusercontent.com/u/25812122?v=4)](https://github.com/edgarsstrods "edgarsstrods (1 commits)")[![uLow](https://avatars.githubusercontent.com/u/1608213?v=4)](https://github.com/uLow "uLow (1 commits)")

---

Tags

numbernumber-formatnumber-to-wordsnumbersnumbers-to-textphpspells-numberscurrencynumbersspell

### Embed Badge

![Health badge](/badges/jurchiks-numbers2words/health.svg)

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

###  Alternatives

[brick/money

Money and currency library

1.9k41.8M157](/packages/brick-money)[kwn/number-to-words

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

4375.4M23](/packages/kwn-number-to-words)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7865.8M46](/packages/akaunting-laravel-money)[casinelli/currency

Handles currency for Laravel 5.

1911.8k](/packages/casinelli-currency)

PHPackages © 2026

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