PHPackages                             mehran/toman - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. mehran/toman

ActiveMagento2-module[Localization &amp; i18n](/categories/localization)

mehran/toman
============

Adding Iranian Toman (IRT) to Magento Currencies

1.1.1(8y ago)1822PHP

Since Oct 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Mehran91z/Mehran_Toman)[ Packagist](https://packagist.org/packages/mehran/toman)[ RSS](/packages/mehran-toman/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)DependenciesVersions (3)Used By (0)

Mehran\_Toman
=============

[](#mehran_toman)

Adding Iranian Toman to magento 2

- Magento 2 uses PHP ICUData for currency values so adding a new currency to Magento 2 is not that easy.
- This module is using custom resource files to add a new currecny to Magento 2.
- I've added Iranian Toman to Magento 2 by this module but any custom currency (such as bitcoin, etc) can be added using the same method.

Install:
--------

[](#install)

```
1. composer require mehran/toman 1.0.0
2. php bin/magento setup:upgrade
3. php bin/magento setup:di:compile

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~77 days

Total

2

Last Release

3097d ago

### Community

Maintainers

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

---

Top Contributors

[![Mehran91z](https://avatars.githubusercontent.com/u/17524536?v=4)](https://github.com/Mehran91z "Mehran91z (8 commits)")[![aminlatif](https://avatars.githubusercontent.com/u/9590450?v=4)](https://github.com/aminlatif "aminlatif (6 commits)")

### Embed Badge

![Health badge](/badges/mehran-toman/health.svg)

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

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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