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

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

sgrgrg/currency-converter
=========================

A php library for currency converter

1.2.3(2y ago)015MITPHP

Since Dec 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sgrgug/currency-converter)[ Packagist](https://packagist.org/packages/sgrgrg/currency-converter)[ RSS](/packages/sgrgrg-currency-converter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (9)Used By (0)

Currency Converter
==================

[](#currency-converter)

A php library for Currency Currency.

Authors
-------

[](#authors)

- [@sgrgug](https://www.github.com/sgrgug)

Features
--------

[](#features)

- Easy Syntax, Easy to use.
- Real time currency converter through API.

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

[](#installation)

Install my-project with npm

```
  composer require  sgrgrg/currency-converter
```

Usage/Examples
--------------

[](#usageexamples)

```
// if you haven't use autoload
require_once __DIR__ . '/vendor/autoload.php';

use Sgrgrg\CurrencyConverter\CurrencyConverter;

echo CurrencyConverter::convert(2)->from('USD')->to('NPR')->get();
```

Support Language
----------------

[](#support-language)

AED AFN ALL AMD ANG AOA ARS AUD AWG AZN BAM BBD BDT BGN BHD BIF BMD BND BOB BRL BSD BTC BTN BWP BYN BYR BZD CAD CDF CHF CLF CLP CNY COP CRC CUC CUP CVE CZK DJF DKK DOP DZD EGP ETB EUR FJD GBP GEL GHS GMD GNF GTQ GYD HKD HNL HRK HTG HUF IDR ILS INR IQD IRR ISK JMD JOD JPY KES KGS KHR KMF KRW KWD KYD KZT LAK LBP LKR LRD LTL LVL LYD MAD MDL MGA MMK MOP MRO MUR MVR MWK MXN MYR MZN NAD NGN NIO NOK NPR NZD OMR PAB PEN PGK PHP PKR PLN PYG QAR RON RSD RUB RWF SAR SBD SCR SDG SEK SGD SHP SLL SOS SRD STD SVC SZL THB TJS TMT TND TOP TRY TTD TWD TZS UAH UGX USD UYU UZS VND XAF XCD XDR XOF XPF YER ZAR ZMK ZMW ZWL

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~1 days

Total

8

Last Release

857d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/414c6b576af82b9b2090c89462972597637d1c414f14ed573d63eea1c7201800?d=identicon)[sgrgug](/maintainers/sgrgug)

---

Top Contributors

[![sgrgug](https://avatars.githubusercontent.com/u/42410751?v=4)](https://github.com/sgrgug "sgrgug (13 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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