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

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

nfraz007/number-to-word
=======================

Library to convert number to word

2.0.0(6y ago)25MITPHP

Since Feb 20Pushed 6y agoCompare

[ Source](https://github.com/nfraz007/number-to-word)[ Packagist](https://packagist.org/packages/nfraz007/number-to-word)[ RSS](/packages/nfraz007-number-to-word/feed)WikiDiscussions master Synced today

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

NumberToWord
============

[](#numbertoword)

A php file to convert any number to word form.

Setup
=====

[](#setup)

- Using Composer For includeing this library using composer, it is very easy. there are basically two ways.

First: Run this command in terminal inside your project

> composer require nfraz007/number-to-word:2.0.0

Second: include this line in your composer.json file, inside require object

> "nfraz007/number-to-word" : "2.0.0"

- Using Direct File Include

Setup is very easy, just import the file into your project and you are all set.

```
include("NumberToWord.php");

```

or

```
require 'NumberToWord.php';

```

Convert a number
================

[](#convert-a-number)

Converting any number to word form is very easy. Here is the syntax.

```
$str = NumberToWord("123");
echo $str;

```

> one hundred twenty-three

- **Maximum limit of length of input string = 99**

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

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

Total

3

Last Release

2519d ago

Major Versions

1.0.1 → 2.0.02019-06-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/2169afd0aa97b0c9d12f13c1c2aaf8dfa765aa1c3a9dd63a159453406ef86ced?d=identicon)[nfraz007](/maintainers/nfraz007)

---

Top Contributors

[![nfrazmildly](https://avatars.githubusercontent.com/u/35589885?v=4)](https://github.com/nfrazmildly "nfrazmildly (6 commits)")[![nfraz007](https://avatars.githubusercontent.com/u/23656722?v=4)](https://github.com/nfraz007 "nfraz007 (4 commits)")

### Embed Badge

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

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

###  Alternatives

[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)[imanghafoori/laravel-middlewarize

Use laravel middlewares on any method calls in your app

1134.5k1](/packages/imanghafoori-laravel-middlewarize)

PHPackages © 2026

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