PHPackages                             dineshuprety/nepal-currency-converter - 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. dineshuprety/nepal-currency-converter

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

dineshuprety/nepal-currency-converter
=====================================

Nepali Currency Converter

v1.0.0(3y ago)732[1 PRs](https://github.com/dineshuprety/nepal-currency-converter/pulls)MITPHPPHP ^8.0

Since Aug 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/dineshuprety/nepal-currency-converter)[ Packagist](https://packagist.org/packages/dineshuprety/nepal-currency-converter)[ Docs](https://github.com/dineshuprety/nepal-currency-converter)[ GitHub Sponsors](https://github.com/dineshuprety)[ RSS](/packages/dineshuprety-nepal-currency-converter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Nepali Currency Converter
=========================

[](#nepali-currency-converter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/31c31f45151fec6eac58e66bb33544982b38cf5d0cecc46bad3a939fcfa8a189/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64696e6573687570726574792f6e6570616c2d63757272656e63792d636f6e7665727465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dineshuprety/nepal-currency-converter)[![Tests](https://github.com/dineshuprety/nepal-currency-converter/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/dineshuprety/nepal-currency-converter/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/514714cbe88178ceec1b9547a3568c13aaf98cbad47b47e063fd9f756cb111d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64696e6573687570726574792f6e6570616c2d63757272656e63792d636f6e7665727465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dineshuprety/nepal-currency-converter)

Nepali currency converter is a php package that gives the historical, latest currency rate and converts nepali currency to another.i.e

```
 $inr = NepalCurrencyConverter::convert(1)->toINR();
 echo $inr; // 0.62
```

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

[](#installation)

You can install the package via composer:

```
composer require dineshuprety/nepal-currency-converter
```

Usage
-----

[](#usage)

```
namespace Nepo\NepalCurrencyConverter\Tests;
use Nepo\NepalCurrencyConverter\NepalCurrencyConverter;

 $inr = NepalCurrencyConverter::convert(1)->toINR();
 echo $inr; // 0.62
```

Currency Convert Option
-----------------------

[](#currency-convert-option)

To change the Nepali currency to other currency options :

- toINR();
- toBDT();
- toCNY();
- toPKR();
- toMVR();
- toLKR();
- toAFN();

Testing
-------

[](#testing)

```
composer test
```

V2 Comming Soon
---------------

[](#v2-comming-soon)

The V2 has a big change because we are feaching data from the API to make the conversion rate dynamic.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [dineshuprety](https://github.com/dineshuprety)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1379d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/272c3e7c84c46095f489b0fe66a2be0d6940309458a370f6cd9d6b8d2c335eea?d=identicon)[dineshuprety](/maintainers/dineshuprety)

---

Top Contributors

[![dineshuprety](https://avatars.githubusercontent.com/u/51488661?v=4)](https://github.com/dineshuprety "dineshuprety (16 commits)")[![rohit2057](https://avatars.githubusercontent.com/u/71223469?v=4)](https://github.com/rohit2057 "rohit2057 (5 commits)")

---

Tags

phpphp-packagephp8Dinesh Upretynepal-currency-converter

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/dineshuprety-nepal-currency-converter/health.svg)

```
[![Health](https://phpackages.com/badges/dineshuprety-nepal-currency-converter/health.svg)](https://phpackages.com/packages/dineshuprety-nepal-currency-converter)
```

PHPackages © 2026

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