PHPackages                             kodefarmers/nrb-forex - 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. kodefarmers/nrb-forex

ActiveLibrary[API Development](/categories/api)

kodefarmers/nrb-forex
=====================

Laravel Package to consume Nepal Rastra Bank's foreign exchange rate API.

v0.1.3(1y ago)929MITPHP

Since Oct 29Pushed 1y agoCompare

[ Source](https://github.com/kodefarmers/nrb-forex)[ Packagist](https://packagist.org/packages/kodefarmers/nrb-forex)[ RSS](/packages/kodefarmers-nrb-forex/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

NrbForex
========

[](#nrbforex)

*A laravel package to consume Nepal Rastra Bank's forex api.*

[![Issues](https://camo.githubusercontent.com/328edfa2de8163c84ae512c3b9c0908f4331fd00820d4e965bfb4450c0cfb63b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6b6f64656661726d6572732f6e72622d666f7265782e7376673f7374796c653d666c61742d737175617265)](https://github.com/kodefarmers/nrb-forex/issues)[![Latest Version](https://camo.githubusercontent.com/8fef18aa8d0e31fc5bcb887c0a896207b361a7ecd5444167bc6d46b69a5507b1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6b6f64656661726d6572732f6e72622d666f7265782e7376673f7374796c653d666c61742d737175617265)](https://github.com/kodefarmers/nrb-forex/releases)[![Total Downloads](https://camo.githubusercontent.com/adfed1001e604f2bf1550797e09dec5860b6b26dab8905cb5e999157136d7d78/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f64656661726d6572732f6e72622d666f7265782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kodefarmers/nrb-forex)

NrbForex is a laravel package that allows for easy comsumption of forex API by Nepal Rastra Bank.

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

[](#installation)

You can install the package via Composer:

```
$ composer require kodefarmers/nrb-forex
```

The Laravel facade and service provider are registered through auto-discovery, so you can instantly start using it.

Publish Config File
-------------------

[](#publish-config-file)

You can generate a config file by:

```
$ php artisan vendor:publish --tag=nrbforex
```

Usage
-----

[](#usage)

This package publishes a Laravel facade for easier usage:

```
use KodeFarmers\NrbForex\Facades\NrbForex;

return NrbForex::convert(1);
// returns 1 USD to NPR

return NrbForex::from('EUR')->convert(1);
// returns 1 EUR to NPR
```

You can change the default currency to convert from (it is USD by default) from config/nrbforex.php.

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

[](#contributing)

We welcome contributions from the community! If you have an idea for a new feature or improvement, please submit a pull request. We also appreciate bug reports and other feedback.

To get started with contributing, simply fork this repository, make your changes, and submit a pull request.

License
-------

[](#license)

This project is licensed under [MIT](https://opensource.org/license/mit-0/)

Self-Promotion
--------------

[](#self-promotion)

Star the repository on [Github](https://github.com/kodefarmers/nrb-forex)

Follow on [Github](https://github.com/kodefarmers)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance44

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

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

Every ~164 days

Total

4

Last Release

435d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/454fe2ab876ac122191e2c17774430f8879ab3f181d79efdd6832cfa1b260a6d?d=identicon)[shivajichalise](/maintainers/shivajichalise)

---

Top Contributors

[![shivajichalise](https://avatars.githubusercontent.com/u/33979290?v=4)](https://github.com/shivajichalise "shivajichalise (15 commits)")

---

Tags

composerforexlaravelnepal-rastra-banknrbnrbforexpackagephp

### Embed Badge

![Health badge](/badges/kodefarmers-nrb-forex/health.svg)

```
[![Health](https://phpackages.com/badges/kodefarmers-nrb-forex/health.svg)](https://phpackages.com/packages/kodefarmers-nrb-forex)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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