PHPackages                             dev-scripts/english-nepali-number-converter-php - 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. dev-scripts/english-nepali-number-converter-php

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

dev-scripts/english-nepali-number-converter-php
===============================================

Package to convert English number to Nepali number and Nepali number to English number.

v1.0.0(3y ago)2319MITPHPPHP ^8.1

Since Dec 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/dev-scripts/english-nepali-number-converter-php)[ Packagist](https://packagist.org/packages/dev-scripts/english-nepali-number-converter-php)[ Docs](https://prakashbhandari.com.np/)[ RSS](/packages/dev-scripts-english-nepali-number-converter-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Nepali English Number Converter
===============================

[](#nepali-english-number-converter)

Laravel Package to convert English number to Nepali number and Nepali Number to English Number.

I have used Unicode to convert English number to Nepali number.

I have learned it while doing Government Applications of Nepal in 2012. It is very simple, you can easily implement in your project.

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

[](#installation)

Can install via composer

```
composer require dev-scripts/english-nepali-number-converter-php

```

Usage
-----

[](#usage)

### Convert number

[](#convert-number)

1. **Convert number form English to Nepali**

```
echo Convert::toNp(123.33);
Output : "१२३.३३";

// with thousand count
$number = 123456789.05;
$numberThousandCount = number_format($number, 2);
echo  Convert::toNp($numberThousandCount);
Output : "१२३,४५६,७८९.०५";
```

2. **Convert number form Nepali to English**

```
echo Convert::toEn("१२३४५६७८९.०५");
Output : 123456789.05;
```

API
---

[](#api)

`Convert::toEn($number)`

ParamTypeDescription$number`string` or `number`Input number to be converted.**Example**

`index.php`

```
echo Convert::toNp(123.33);
Output : "१२३.३३";

// with thousand count
$number = 123456789.05;
$numberThousandCount = number_format($number, 2);
echo  Convert::toNp($numberThousandCount);
Output : "१२३,४५६,७८९.०५";
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

1253d ago

### Community

Maintainers

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

---

Tags

number converterNepali Number converterEnglish to Nepali number converterNepali to English number converterHindu Arabic to English numberEnglish number to Hindu ArabicPHP package converter English number to Nepali numberPHP package converter Nepali number to English number

### Embed Badge

![Health badge](/badges/dev-scripts-english-nepali-number-converter-php/health.svg)

```
[![Health](https://phpackages.com/badges/dev-scripts-english-nepali-number-converter-php/health.svg)](https://phpackages.com/packages/dev-scripts-english-nepali-number-converter-php)
```

PHPackages © 2026

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