PHPackages                             live-controls/masks - 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. live-controls/masks

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

live-controls/masks
===================

Input Masks library for live-controls

v2.2.2(2y ago)02.0k[3 issues](https://github.com/live-controls/masks/issues)Blade

Since Aug 25Pushed 2y agoCompare

[ Source](https://github.com/live-controls/masks)[ Packagist](https://packagist.org/packages/live-controls/masks)[ RSS](/packages/live-controls-masks/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (2)Versions (15)Used By (0)

Masks
=====

[](#masks)

[![Release Version](https://camo.githubusercontent.com/ad0e8e682fdee60ab3c7101f79ae82fc5ac6c5bc7f881544942e9054ad22ed30/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6c6976652d636f6e74726f6c732f6d61736b73)](https://camo.githubusercontent.com/ad0e8e682fdee60ab3c7101f79ae82fc5ac6c5bc7f881544942e9054ad22ed30/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6c6976652d636f6e74726f6c732f6d61736b73)[![Packagist Version](https://camo.githubusercontent.com/2468410ffdaa4523a71660bfd79a073b8aef6f2dab2c41be869ffbc561c363b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6976652d636f6e74726f6c732f6d61736b733f636f6c6f723d253233303037353030)](https://camo.githubusercontent.com/2468410ffdaa4523a71660bfd79a073b8aef6f2dab2c41be869ffbc561c363b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6976652d636f6e74726f6c732f6d61736b733f636f6c6f723d253233303037353030)Input Masks library for live-controls

Requirements
------------

[](#requirements)

- Laravel 9+
- Livewire 2+

Translations
------------

[](#translations)

- English (en)
- German (de)
- Brazilian Portuguese (pt\_BR)

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

[](#installation)

1. Install Masks package

```
composer require live-controls/masks
```

### CDN Installation

[](#cdn-installation)

1. Include @livecontrolsMasks() before /head tag
2. In case you did publish the configuration file, set local\_files to false (This is the default option)

### Local Installation

[](#local-installation)

1. Run:

```
npm install imask

```

2. Add to app.js:

```
import IMask from 'imask';

```

3. Run:

```
npm run build;

```

4. Run:

```
php artisan vendor:publish --tag="livecontrols.masks.config";

```

5. Edit config/livecontrols-masks.php:

```
'local_files' => true, //Set local_files to true

```

Usage
-----

[](#usage)

```
@livewire('livecontrols-currencymask', [
'maskId' => 'someUniqueId',
'maskName' => 'someUniqueName',
'unmaskedId' => 'idforhiddeninput',
'unmaskedName' => 'nameforhiddeninput',
'class' => 'input input-bordered w-full',
'required' => true,
'value' => 'set to something if you want to use it for update',
'currencyString' => 'R$',
'updateCallName' => 'WillBeFiredIfValueGotUpdated'
], key())

```

To update a value call:

```
$this->dispatch('update-mask-value-maskId', value: 500);

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Recently: every ~1 days

Total

12

Last Release

780d ago

Major Versions

v1.0.0 → v2.0.02024-04-30

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/60240491?v=4)[Roman Wanner](/maintainers/daredloco)[@daredloco](https://github.com/daredloco)

---

Top Contributors

[![daredloco](https://avatars.githubusercontent.com/u/60240491?v=4)](https://github.com/daredloco "daredloco (30 commits)")

### Embed Badge

![Health badge](/badges/live-controls-masks/health.svg)

```
[![Health](https://phpackages.com/badges/live-controls-masks/health.svg)](https://phpackages.com/packages/live-controls-masks)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9527.8M126](/packages/livewire-flux)[jantinnerezo/livewire-alert

This package provides a simple alert utilities for your livewire components.

8131.4M20](/packages/jantinnerezo-livewire-alert)[leandrocfe/filament-apex-charts

Apex Charts integration for Filament PHP.

4911.6M11](/packages/leandrocfe-filament-apex-charts)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725172.4k14](/packages/tallstackui-tallstackui)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43311.1k](/packages/venturedrake-laravel-crm)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21259.6k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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