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

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

rixafy/currency
===============

Currency CRUD with basic functions (listing, converting, updating, etc)

v2.0.2(4y ago)01.1k1MITPHP

Since Sep 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rixafy/Currency)[ Packagist](https://packagist.org/packages/rixafy/currency)[ RSS](/packages/rixafy-currency/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (1)

Currency
========

[](#currency)

💱 CRUD model in PHP using Doctrine ORM

Installation
============

[](#installation)

```
composer require rixafy/currency

```

Example usage
=============

[](#example-usage)

Basic examples for working with extension, you need to register services to DI or use [this integration to nette framework](https://github.com/Archette/Currency)

Converting
----------

[](#converting)

```
$eur = $this->currencyFacade->getByCode('EUR'); // returns Currency instance
$usd = $this->currencyFacade->getByCode('USD'); // returns Currency instance

$eur->convertFrom($usd, 100); // converts 100 USD to EUR, returns float
$eur->convertTo($usd, 100); // converts 100 EUR to USD, returns float
```

Formatting
----------

[](#formatting)

```
echo $this->currencyFacade->getByCode('USD')->formatToNumber(45.54); // returns 45.54
echo $this->currencyFacade->getByCode('EUR')->formatToNumber(45.54); // returns 45,54
echo $this->currencyFacade->getByCode('USD')->formatToString(45.54); // returns $45.54
echo $this->currencyFacade->getByCode('EUR')->formatToString(45.54); // returns 45,54 €
```

decimal point, hundred and thousand separator, symbol and code is saved in DB (table currency)

Important
=========

[](#important)

Extension requires Doctrine ORM and symfony\\console for currency import.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~147 days

Total

5

Last Release

1529d ago

Major Versions

v1.0.1 → v2.0.02022-03-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/45132928?v=4)[delacry](/maintainers/delacry)[@delacry](https://github.com/delacry)

---

Top Contributors

[![delacry](https://avatars.githubusercontent.com/u/45132928?v=4)](https://github.com/delacry "delacry (57 commits)")[![Tomix3D](https://avatars.githubusercontent.com/u/7952449?v=4)](https://github.com/Tomix3D "Tomix3D (1 commits)")

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M387](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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