PHPackages                             davidvandertuijn/number\_format\_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. davidvandertuijn/number\_format\_currency

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

davidvandertuijn/number\_format\_currency
=========================================

Number Format Currency

4.2(4y ago)0678MITPHPPHP &gt;=7.1.0

Since May 26Pushed 1y ago1 watchersCompare

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

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

Number Format Currency
======================

[](#number-format-currency)

[![Total Downloads](https://camo.githubusercontent.com/42663cf9d01f56eb92c47e147fbb95774f67fe75ee85c039ddf1265d10a444d5/68747470733a2f2f706f7365722e707567782e6f72672f646176696476616e6465727475696a6e2f6e756d6265725f666f726d61745f63757272656e63792f642f746f74616c2e737667)](https://packagist.org/packages/davidvandertuijn/number_format_currency)[![Latest Stable Version](https://camo.githubusercontent.com/6c7294b001c5eee5d3441fffd6c362b7653f909a57daff1b16100556b1825c0e/68747470733a2f2f706f7365722e707567782e6f72672f646176696476616e6465727475696a6e2f6e756d6265725f666f726d61745f63757272656e63792f762f737461626c652e737667)](https://packagist.org/packages/davidvandertuijn/number_format_currency)[![License](https://camo.githubusercontent.com/4ab951c261c68ef629d50951f8e650a96ffca27ef3b2a5bc09637c26fa5d2cd3/68747470733a2f2f706f7365722e707567782e6f72672f646176696476616e6465727475696a6e2f6e756d6265725f666f726d61745f63757272656e63792f6c6963656e73652e737667)](https://packagist.org/packages/davidvandertuijn/number_format_currency)

[![Number Format Currency](https://camo.githubusercontent.com/676cb9842872b16f40fa747147eba6b1599505551c1278b1426a5eaedacffb73/68747470733a2f2f63646e2e646176696476616e6465727475696a6e2e6e6c2f6769746875622f6e756d6265725f666f726d61745f63757272656e63792e706e67)](https://camo.githubusercontent.com/676cb9842872b16f40fa747147eba6b1599505551c1278b1426a5eaedacffb73/68747470733a2f2f63646e2e646176696476616e6465727475696a6e2e6e6c2f6769746875622f6e756d6265725f666f726d61745f63757272656e63792e706e67)

The “Number Format Currency” tool is designed to assist users in formatting numerical values as currency, enhancing the clarity and professionalism of financial data presentations. This functionality is essential for businesses, accountants, and analysts who need to display monetary amounts accurately and consistently.

[!["Buy Me A Coffee"](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/davidvandertuijn)

Install
-------

[](#install)

```
composer require davidvandertuijn/number_format_currency

```

Usage
-----

[](#usage)

```
number_format_currency('1234.56', 2, 'EUR'); // 1.234,56
number_format_currency('1234.56', 2, 'USD'); // 1,234.56
```

Support for the currencies below:

CountryCurrencyAbbreviation/CodeArgentinaArgentine PesoARSAustraliaAustralian DollarAUDBrazilBrazilian RealBRLChileChilean PesoCLPChinaYuan RenminbiCNYColumbiaColombian PesoCOPCzech RepublicCzech KorunaCZKDenmarkDanish KroneDKKEuropean UnionEuroEURHong KongHong Kong DollarHKDHungaryHungarian ForintHUFIndiaIndian RupeeINRIsraelNew Israeli ShekelILSJapanYenJPYKorea, Republic ofWonKRWMalaysiaMalaysian RinggitMYRMexicoMexican PesoMXNMoroccoMoroccan DirhamMADNew ZealandNew Zealand DollarNZDNorwayNorwegian KroneNOKPhilippinesPhilippine PesoPHPPolandZlotyPLNRussian FederationRussian RubleRUBSaudi ArabiaSaudi RiyalSARSingaporeSingapore DollarSGDSouth AfricaRandZARSwedenSwedish KronaSEKSwitzerlandSwiss FrancCHFTaiwanNew Taiwan DollarTWDThailandBahtTHBTurkeyTurkish LiraTRYUK/Great BritainPound SterlingGBPUnited StatesUS DollarUSDVietnamDongVND### English or French Notation

[](#english-or-french-notation)

```
number_format_currency('1234.56', 2, 'CAD', 'English'); // 1,234.56
number_format_currency('1234.56', 2, 'CAD', 'French'); // 1 234,56
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Recently: every ~259 days

Total

6

Last Release

1552d ago

Major Versions

1.0 → 2.02019-06-01

2.0 → 3.02021-05-27

3.0 → 4.02022-03-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d8904bedce7fb2ec131c0d18c13aeaa82b00af2fd03ebe099886ac462b1d29e?d=identicon)[davidvandertuijn](/maintainers/davidvandertuijn)

---

Top Contributors

[![davidvandertuijn](https://avatars.githubusercontent.com/u/11010507?v=4)](https://github.com/davidvandertuijn "davidvandertuijn (7 commits)")

### Embed Badge

![Health badge](/badges/davidvandertuijn-number-format-currency/health.svg)

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

###  Alternatives

[shweshi/opengraph

A Laravel package to fetch website Open Graph metadata.

168788.4k1](/packages/shweshi-opengraph)[novutec/whoisparser

Lookup domain names, IP addresses and AS numbers by WHOIS.

392.0M1](/packages/novutec-whoisparser)[friendsofcat/laravel-feature-flag

Feature Flags for Laravel

311.2M](/packages/friendsofcat-laravel-feature-flag)

PHPackages © 2026

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