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

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

nevadskiy/laravel-money
=======================

The package provides money and currency features for a Laravel application.

0.3.0(2y ago)67041MITPHPPHP ^7.3|^8.0

Since Mar 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/nevadskiy/laravel-money)[ Packagist](https://packagist.org/packages/nevadskiy/laravel-money)[ RSS](/packages/nevadskiy-laravel-money/feed)WikiDiscussions master Synced today

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

Laravel Money
=============

[](#laravel-money)

💰 The package provides money and currency features for a Laravel application.

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

[](#installation)

You can install the package via composer:

```
composer require nevadskiy/laravel-money
```

Documentation
-------------

[](#documentation)

### Using money cast in the model

[](#using-money-cast-in-the-model)

Any field can be cast into `Money` instance. To make it castable, add the following code to your model:

```
use Nevadskiy\Money\Casts\AsMoney;

/**
 * The attributes that should be cast.
 *
 * @var array
 */
protected $casts = [
    'cost' => AsMoney::class.':UAH',
];
```

### Money cast with dynamic currency

[](#money-cast-with-dynamic-currency)

```
Schema::create('products', function (Blueprint $table) {
    $table->bigInteger('cost')->unsigned();
    $table->string('currency', 3);
});
```

```
use Nevadskiy\Money\Casts\AsMoney;

/**
 * The attributes that should be cast.
 *
 * @var array
 */
protected $casts = [
    'cost' => AsMoney::class.':[currency]',
];
```

To Do List
----------

[](#to-do-list)

- use Symfony\\Polyfill\\Intl\\Icu\\Currencies for default registry

###  Health Score

27

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

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

Total

5

Last Release

1011d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28da65e8fb67327a4aecc884be2d4d14d719ed0b393ec9c4febe0f91b9750eb5?d=identicon)[xalaida](/maintainers/xalaida)

---

Top Contributors

[![xalaida](https://avatars.githubusercontent.com/u/31131784?v=4)](https://github.com/xalaida "xalaida (371 commits)")

---

Tags

laravelmoneycurrency

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.5k69.2k](/packages/grumpydictator-firefly-iii)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7835.2M15](/packages/akaunting-laravel-money)[torann/currency

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

4071.0M4](/packages/torann-currency)[firefly-iii/data-importer

Firefly III Data Import Tool.

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

PHPackages © 2026

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