PHPackages                             hctilg/number-to-persian-text - 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. [API Development](/categories/api)
4. /
5. hctilg/number-to-persian-text

ActiveLibrary[API Development](/categories/api)

hctilg/number-to-persian-text
=============================

converts numbers to persian text.

v1.0(2y ago)30941MITPHPPHP &gt;=5.4.0

Since Sep 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hctilg/number-to-text)[ Packagist](https://packagist.org/packages/hctilg/number-to-persian-text)[ RSS](/packages/hctilg-number-to-persian-text/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

number-to-text
==============

[](#number-to-text)

converts numbers to persian text.

Usage
-----

[](#usage)

### Library

[](#library)

Simply use:

```
// checking the exists Library.
if (!file_exists("number-to-text.php")) {
  copy('https://raw.githubusercontent.com/hctilg/number-to-text/main/number-to-text.php', 'number-to-text.php');
}

// require Library.
require_once('number-to-text.php');

$input = '';

$output = number_to_text($input);

echo "Text: $output";
```

### API

[](#api)

Send requests to `/number-to-text.php`.

MethodParameterGET/POST`string` number[![Preview](images/preview-api.jpg)](images/preview-api.jpg)

### CLI

[](#cli)

run php script:

```
php number-to-text.php
```

[![Preview](images/preview-cli.jpg)](images/preview-cli.jpg)

Test
----

[](#test)

### Web

[](#web)

Go to the `./number-to-text` folder and run php localhost:

```
php -S localhost:6040
```

then open the following url

```
http://localhost:6040/test.php

```

[![Preview](images/test-web.jpg)](images/test-web.jpg)

### CLI

[](#cli-1)

run php script:

```
php test.php
```

[![Preview](images/test-cli.jpg)](images/test-cli.jpg)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1022d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/98208009?v=4)[Mahoor Nemati ✨](/maintainers/hctilg)[@hctilg](https://github.com/hctilg)

---

Top Contributors

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

---

Tags

apinumber-to-textpersian-nlpphp

### Embed Badge

![Health badge](/badges/hctilg-number-to-persian-text/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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