PHPackages                             xgrz/money - 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. xgrz/money

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

xgrz/money
==========

Money helper for Laravel

v2.0.5(2mo ago)1181MITPHPPHP ^8.1CI passing

Since Jan 11Pushed 2mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (10)Versions (21)Used By (0)

[![Tests](https://github.com/xGrz/money/actions/workflows/tests.yaml/badge.svg)](https://github.com/xGrz/money/actions/workflows/tests.yaml)

Money formatter/calculator for Laravel
======================================

[](#money-formattercalculator-for-laravel)

Money is small package for money format for Laravel. It works with Laravel 10, 11 and 12 (PHP 8.1-8.4)

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

[](#installation)

```
composer require xgrz/money

```

Example usage
-------------

[](#example-usage)

```
use XGrz\Money\Money;

try {
    $money = Money::from(1234.567, precision: 2)
        ->currency('€', beforeAmount: true)
        ->decimalSeparator('.')
        ->thousandsSeparator(',')
        ->shouldDisplayZero(false);

        echo $money->format(); // €1,234.57
    } catch (MoneyValidationException $e) {
        echo "Error: " . $e->getMessage();
    }

```

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance88

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Recently: every ~45 days

Total

19

Last Release

61d ago

Major Versions

v1.1.8 → v2.0.02025-03-30

PHP version history (2 changes)1.0.0PHP ^8.0

v2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c110497bed6b5684b40b8cfd88b60d24ffdc96664ce56d3e03854afae6a0562?d=identicon)[xgrz](/maintainers/xgrz)

---

Top Contributors

[![xGrz](https://avatars.githubusercontent.com/u/33755434?v=4)](https://github.com/xGrz "xGrz (55 commits)")

---

Tags

laravelhelpermoney

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/xgrz-money/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[cknow/laravel-money

Laravel Money

1.0k4.3M22](/packages/cknow-laravel-money)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[torann/currency

This provides Laravel with currency functions such as currency formatting and conversion using up-to-date exchange rates.

4081.1M6](/packages/torann-currency)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)

PHPackages © 2026

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