PHPackages                             joan-ramirez/currency - 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. joan-ramirez/currency

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

joan-ramirez/currency
=====================

Package to see the value of one currency compared to another

411[1 PRs](https://github.com/joan-ramirez/currency/pulls)PHP

Since Feb 8Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Currency
========

[](#currency)

Library to see the value of a currency in comparison with another, it accepts the change of all the currencies in the world.

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

[](#installation)

Add `joan-ramirez/currency` as a require dependency in your `composer.json` file:

```
composer require joan-ramirez/currency
```

Usage
-----

[](#usage)

Create a currency instance

```
use JoanRamirez/Currency/Currency;

$currency = new Currency();
```

Get USD value converted to EUR `change()->get()` methods

```
$currency->change('USD', 'EUR')->get();
```

Get the value of $100 USD converted to EUR with the `amount()` method

```
$currency->change('USD', 'EUR')->amount(100)->get();
```

License
-------

[](#license)

Currency is licensed under the MIT license.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2e7effc9e7a381afddf5cefc4775c9659381e888e90d4704dfc5580ed5bf983?d=identicon)[joan-ramirez](/maintainers/joan-ramirez)

---

Top Contributors

[![joan-ramirez-montilla](https://avatars.githubusercontent.com/u/98176968?v=4)](https://github.com/joan-ramirez-montilla "joan-ramirez-montilla (12 commits)")[![bartomeumas](https://avatars.githubusercontent.com/u/54919882?v=4)](https://github.com/bartomeumas "bartomeumas (1 commits)")

---

Tags

codeigniterlaravelphpphp-librarysymfony

### Embed Badge

![Health badge](/badges/joan-ramirez-currency/health.svg)

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

PHPackages © 2026

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