PHPackages                             tuxones/filament-js-money-field - 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. tuxones/filament-js-money-field

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

tuxones/filament-js-money-field
===============================

A Laravel Filament plugin for dynamic international currency masking using JavaScript Intl, supporting flexible currency and locale configuration via closures.

v0.1.7(10mo ago)144.7k↓25%8[4 issues](https://github.com/tuxones/filament-js-money-field/issues)[1 PRs](https://github.com/tuxones/filament-js-money-field/pulls)MITPHPPHP ^8.1

Since Nov 28Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/tuxones/filament-js-money-field)[ Packagist](https://packagist.org/packages/tuxones/filament-js-money-field)[ Docs](https://github.com/tuxones/filament-js-money-field)[ RSS](/packages/tuxones-filament-js-money-field/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (8)Versions (10)Used By (0)

filament-js-money-field
=======================

[](#filament-js-money-field)

[![Latest Version on Packagist](https://camo.githubusercontent.com/209c142f06c43c920282ed49c1edd896ff2c72962f7ac1e86c4b3d51864eada5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7475786f6e65732f66696c616d656e742d6a732d6d6f6e65792d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tuxones/filament-js-money-field)[![Total Downloads](https://camo.githubusercontent.com/7801b42c1b4d90d4de182aa367cb528e622e2264611623308f5ea385709c582a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7475786f6e65732f66696c616d656e742d6a732d6d6f6e65792d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tuxones/filament-js-money-field)

A Filament plugin for dynamic international currency masking using JavaScript Intl, supporting flexible currency and locale configuration via closures.

This plugin extends the functionality of a standard text field by adding a dynamic currency mask. All properties and behaviors of the standard field remain intact.

Supported Column Types
----------------------

[](#supported-column-types)

The plugin supports `integer`, `decimal`, `double`, and `float`. However, it is **highly recommended** to use `integer` or `decimal` for better precision and consistency when handling currency values.

If the column is of type `integer`, the entered value is stored as an integer, including the decimal cents, without any currency symbols or formatting.

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

[](#installation)

You can install the package via composer:

```
composer require tuxones/filament-js-money-field
```

Usage
-----

[](#usage)

### Form

[](#form)

```
use Tuxones\JsMoneyField\Forms\Components\JSMoneyInput;

JSMoneyInput::make('consumption_limit')
    ->currency('USD') // ISO 4217 Currency Code, example: USD
    ->locale('en-US') // BCP 47 Locale Code, example: en-US

// OR

JSMoneyInput::make('consumption_limit')
    ->hidden(fn (Get $get) => !$get('country'))
    ->currency(fn (Get $get) => $get('country') ? Country::find($get('country'))->currency : 'USD')
    ->locale(fn (Get $get) => $get('country') ? Country::find($get('country'))->locale : 'en-US')
```

### Table column

[](#table-column)

```
use Tuxones\JsMoneyField\Tables\Columns\JSMoneyColumn;

JSMoneyColumn::make('consumption_limit')
    ->currency('USD') // ISO 4217 Currency Code, example: USD
    ->locale('en-US') // BCP 47 Locale Code, example: en-US

// OR

JSMoneyColumn::make('consumption_limit')
    ->currency(fn (Model $record) => $record->country ? $record->country->currency : 'USD')
    ->locale(fn (Model $record) => $record->country ? $record->country->locale : 'en-US')
```

### InfoList

[](#infolist)

```
use Tuxones\JsMoneyField\Infolists\Components\JSMoneyEntry;

JSMoneyEntry::make('consumption_limit')
    ->currency('USD') // ISO 4217 Currency Code, example: USD
    ->locale('en-US') // BCP 47 Locale Code, example: en-US

// OR

JSMoneyEntry::make('consumption_limit')
    ->currency(fn (Model $record) => $record->country ? $record->country->currency : 'USD')
    ->locale(fn (Model $record) => $record->country ? $record->country->locale : 'en-US')
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance49

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.7% 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 ~28 days

Recently: every ~51 days

Total

9

Last Release

308d ago

### Community

Maintainers

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

---

Top Contributors

[![ghsgabriel](https://avatars.githubusercontent.com/u/35141093?v=4)](https://github.com/ghsgabriel "ghsgabriel (13 commits)")[![OoHerbethoO](https://avatars.githubusercontent.com/u/16544588?v=4)](https://github.com/OoHerbethoO "OoHerbethoO (1 commits)")[![tonsoo](https://avatars.githubusercontent.com/u/81568701?v=4)](https://github.com/tonsoo "tonsoo (1 commits)")

---

Tags

laraveltuxonfilament-js-money-field

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/tuxones-filament-js-money-field/health.svg)

```
[![Health](https://phpackages.com/badges/tuxones-filament-js-money-field/health.svg)](https://phpackages.com/packages/tuxones-filament-js-money-field)
```

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

320392.1k17](/packages/codewithdennis-filament-select-tree)[ralphjsmit/laravel-filament-components

A collection of reusable components for Filament.

10972.2k2](/packages/ralphjsmit-laravel-filament-components)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[codebar-ag/laravel-filament-json-field

A Laravel Filament JSON Field integration with CodeMirror support

1124.1k](/packages/codebar-ag-laravel-filament-json-field)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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