PHPackages                             easyx/php-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. easyx/php-currency

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

easyx/php-currency
==================

PHP Library for working with currency based on official rates of the Central Bank of the Russian Federation

1.0.4(1y ago)010MITPHPPHP &gt;=7.4

Since Sep 18Pushed 1y agoCompare

[ Source](https://github.com/EasyX-Group/Currency)[ Packagist](https://packagist.org/packages/easyx/php-currency)[ RSS](/packages/easyx-php-currency/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)DependenciesVersions (7)Used By (0)

PHP Laravel Currency [![Packagist](https://camo.githubusercontent.com/8745627542ca4a5ecb238c079c8eed3f003e1d732fa07ed6bd67eac2b3d0d85b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65617379782f7068702d63757272656e63792e737667)](https://packagist.org/packages/easyx/php-currency)
================================================================================================================================================================================================================================================================================================================

[](#php-laravel-currency-)

Library for working with currency based on the Central Bank of Russia exchange rate

**⚠️ The library is designed to work with Laravel and PHP 8.0 and newer**

### Supported currencies

[](#supported-currencies)

PHP Laravel Currency supports: *RUB*, *AUD*, *AZN*, *GBP*, *AMD*, *BYN*, *BGN*, *BRL*, *HUF*, *VND*, *HKD*, *GEL*, *DKK*, *AED*, *USD*, *EUR*, *EGP*, *INR*, *IDR*, *KZT*, *CAD*, *QAR*, *KGS*, *CNY*, *MDL*, *NZD*, *NOK*, *PLN*, *RON*, *XDR*, *SGD*, *TJS*, *THB*, *TRY*, *TMT*, *UZS*, *UAH*, *CZK*, *SEK*, *CHF*, *RSD*, *ZAR*, *KRW*, *JPY*.

Usage
-----

[](#usage)

Do currency manipulation in just few lines of code.

```
use EasyX\Currency;

$currency = new Currency(100, 'RUB');
$amountUsd = $currency->convert('USD'); // 0.9341
```

Environment recommendations
---------------------------

[](#environment-recommendations)

PHP Laravel Currency takes information about the current exchange rate from the Central Bank of the Russian Federation. We strongly recommend setting up [Cache](https://laravel.com/docs/11.x/cache) if you have not done it before.

```
CACHE_DRIVER=redis # just not an array
```

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance43

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

Recently: every ~40 days

Total

6

Last Release

447d ago

Major Versions

0.0.1 → 1.0.02024-09-18

PHP version history (2 changes)0.0.1PHP &gt;=7.4

1.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/80e86aebdddbdbda4c9967b8c157eea71f13cc1437d551d42d8338e68a352df3?d=identicon)[DontFollow](/maintainers/DontFollow)

---

Top Contributors

[![DontFollow](https://avatars.githubusercontent.com/u/27821679?v=4)](https://github.com/DontFollow "DontFollow (10 commits)")

---

Tags

phplaravelcurrencycbr

### Embed Badge

![Health badge](/badges/easyx-php-currency/health.svg)

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

###  Alternatives

[cartalyst/converter

A framework agnostic measurement conversion and formatting package featuring multiple types of measurements and currency conversion.

88434.4k7](/packages/cartalyst-converter)[amranidev/laracombee

Recommendation system for laravel

11636.7k1](/packages/amranidev-laracombee)[wujunze/money-wrapper

MoneyPHP Wrapper

113.8k](/packages/wujunze-money-wrapper)

PHPackages © 2026

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