PHPackages                             celvin/numbers-to-words-bundle - 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. celvin/numbers-to-words-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

celvin/numbers-to-words-bundle
==============================

This bundle allows to convert numbers to words

189PHP

Since Aug 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/celvin/NumbersToWordsBundle)[ Packagist](https://packagist.org/packages/celvin/numbers-to-words-bundle)[ RSS](/packages/celvin-numbers-to-words-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

NumbersToWordsBundle
====================

[](#numberstowordsbundle)

This is one improved edition of

Hopefully compatible with Symfony 2 and 3

Installation:

1 First install pear module:
----------------------------

[](#1-first-install-pear-module)

```
pear install Numbers_Words

```

If there are some trubles about the version you can use: pear install channel://pear.php.net/Numbers\_Words-0.18.1

2 install the bundle:
---------------------

[](#2-install-the-bundle)

```
composer require celvin/numbers-to-words-bundle

```

### 2.1 To specify the branch

[](#21-to-specify-the-branch)

```
composer require celvin/numbers-to-words-bundle dev-master

```

3 Add this to app/AppKernel.php
-------------------------------

[](#3-add-this-to-appappkernelphp)

```
new celvin\NumbersToWordsBundle\celvinNumbersToWordsBundle(),

```

4 Add use to your controller:
-----------------------------

[](#4-add-use-to-your-controller)

```
use celvin\NumbersToWordsBundle\Numbers_Words\Numbers\Words;

```

5 Try it
--------

[](#5-try-it)

```
$numbers_words = new Words();
$word = $numbers_words->toWords("12378" /**Number**/, 'es'/**locale**/);

```

### 5.1 Money

[](#51-money)

Convert money ammount

toCurrency('123,56'/\*\*Ammount\*\*/, 'en'/\*\*Locale\*\*/, 'EUR'/\*\*Currency\*\*/, ','/\*\*Decimal Point\*\*/); // Output : cent vingt-trois euros cinquante-six centimes // Available locales : fr, en, es

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/182253?v=4)[Celvin Rivas](/maintainers/celvin)[@celvin](https://github.com/celvin)

---

Top Contributors

[![celvin](https://avatars.githubusercontent.com/u/182253?v=4)](https://github.com/celvin "celvin (18 commits)")[![massil31](https://avatars.githubusercontent.com/u/6408297?v=4)](https://github.com/massil31 "massil31 (8 commits)")

### Embed Badge

![Health badge](/badges/celvin-numbers-to-words-bundle/health.svg)

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

###  Alternatives

[vinelab/url-shortener

URL shortening the easy way.

5917.2k](/packages/vinelab-url-shortener)

PHPackages © 2026

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