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

ActiveLibrary

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 1mo ago

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 43% 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

733d ago

Major Versions

v1.0.0 → v2.0.02024-04-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f366058ff9e06fad5c432234f0ac35a154bcc4153dbff096987489b16e87eb7?d=identicon)[daredloco](/maintainers/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

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[power-components/livewire-powergrid

PowerGrid generates Advanced Datatables using Laravel Livewire.

1.7k1.7M6](/packages/power-components-livewire-powergrid)[livewire/flux

The official UI component library for Livewire.

9385.0M86](/packages/livewire-flux)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[jantinnerezo/livewire-alert

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

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

Apex Charts integration for Filament PHP.

4861.2M8](/packages/leandrocfe-filament-apex-charts)

PHPackages © 2026

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