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

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

spike/number-to-word
====================

A PHP package for converting numbers to words.

v1.0.4(2y ago)010MITPHPPHP ^8.0

Since Jun 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/spike-php/number-to-word)[ Packagist](https://packagist.org/packages/spike/number-to-word)[ RSS](/packages/spike-number-to-word/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

spike/number-to-word
====================

[](#spikenumber-to-word)

 **A PHP package for converting numbers to words.**

A PHP package for converting numbers to words.

This package provides a convenient way to convert numeric values into their corresponding textual representation.

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

[](#installation)

The preferred method of installation is via \[Composer\]\[\]. Run the following command to install the package and add it as a requirement to your project's `composer.json`:

```
composer require spike/number-to-word
```

Upgrading to Version 1.0.3
--------------------------

[](#upgrading-to-version-103)

Uses
----

[](#uses)

```
use Spike\AmountToWord;

$transform = new TransformWord();

echo $transform->toWord(522525.25);
```

Output
------

[](#output)

```
Five Lac Twenty Two Thousands Five Hundred  and Twenty Five  And Two Five Paisa
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

4

Last Release

1065d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cee41324a322e81edc691516a2e38ad2b64a1879d2a5aa62b5f10d2940ef128?d=identicon)[spike](/maintainers/spike)

---

Top Contributors

[![shahriarshaon1993](https://avatars.githubusercontent.com/u/80998474?v=4)](https://github.com/shahriarshaon1993 "shahriarshaon1993 (5 commits)")

---

Tags

wordsnumbers

### Embed Badge

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

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

###  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)[rtlopez/decimal

An object oriented immutable arbitrary-precision arithmetic library for PHP

27262.8k2](/packages/rtlopez-decimal)[jurchiks/numbers2words

It spells numbers (and currencies)!

20172.1k3](/packages/jurchiks-numbers2words)

PHPackages © 2026

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