PHPackages                             henriquemattia/moeda-br - 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. henriquemattia/moeda-br

ActiveLibrary

henriquemattia/moeda-br
=======================

A Laravel Nova custom mask field for the brazilian currency.

3.3.0(1y ago)010.7k↓34.6%1MITVuePHP ^7.3|^8.0

Since Apr 8Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (10)Used By (0)

Campo de Moeda Br para laravel Nova
===================================

[](#campo-de-moeda-br-para-laravel-nova)

Mask field for brazilian currency

### Install

[](#install)

Run this command into your nova project:

`composer require henriquemattia/moeda-br`

### Add it to your Nova Resource:

[](#add-it-to-your-nova-resource)

```
use Henriquemattia\MoedaBr\MoedaBr;

MoedaBr::make('Valor', 'value'),
```

### Optional Methods

[](#optional-methods)

You can customize the behavior of the field using the following methods:

- **Multiply the value by a factor**:

    Use the `multiplyValueBy` method to multiply the input value by a specific integer. For example, to multiply the value by 100:

    ```
    MoedaBr::make('Valor', 'value')->multiplyValueBy(100),
    ```
- **Display the value divided by a factor**:

    Use the `displayValueDividedBy` method to divide the displayed value by a specific integer. This is useful when you want to format or scale the value for display purposes. For example, if you want to display the value divided by 100:

    ```
    MoedaBr::make('Valor', 'value')->displayValueDividedBy(100),
    ```

Demo
----

[](#demo)

[![Demo](https://raw.githubusercontent.com/henriquemattia/moeda-br/main/docs/demo.gif)](https://raw.githubusercontent.com/henriquemattia/moeda-br/main/docs/demo.gif)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~26 days

Recently: every ~52 days

Total

9

Last Release

560d ago

Major Versions

1.5.0 → 2.0.02024-04-08

2.5.0 → 3.0.02024-04-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/638306aaad77bb8848e07d0af1d6a9a075aba52a098084c613b6c27185cb16cb?d=identicon)[henriquemattia](/maintainers/henriquemattia)

---

Top Contributors

[![henriquemattia](https://avatars.githubusercontent.com/u/109238392?v=4)](https://github.com/henriquemattia "henriquemattia (2 commits)")[![Ezylpro](https://avatars.githubusercontent.com/u/28812822?v=4)](https://github.com/Ezylpro "Ezylpro (1 commits)")[![tenlisboa](https://avatars.githubusercontent.com/u/33580939?v=4)](https://github.com/tenlisboa "tenlisboa (1 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/henriquemattia-moeda-br/health.svg)

```
[![Health](https://phpackages.com/badges/henriquemattia-moeda-br/health.svg)](https://phpackages.com/packages/henriquemattia-moeda-br)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10149.1k](/packages/coreproc-nova-notification-feed)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

40199.8k](/packages/cybercog-laravel-nova-ban)[insenseanalytics/nova-server-monitor

A Laravel Nova tool for Spatie's Server Monitor library.

6546.9k](/packages/insenseanalytics-nova-server-monitor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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