PHPackages                             deadsimple/hyva-input-mask - 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. deadsimple/hyva-input-mask

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

deadsimple/hyva-input-mask
==========================

A deadsimple wrapper to use the input mask plugin from AlpineJs directly in you Hyvä theme and forms

1.0.1(3mo ago)0194↓100%MITHTML

Since Jan 12Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Deadsimple-ecommerce/HyvaInputMask)[ Packagist](https://packagist.org/packages/deadsimple/hyva-input-mask)[ RSS](/packages/deadsimple-hyva-input-mask/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/8d7aeb5c43dea2d2e03d2439d880b4e3e5dcf531d4a7e33d8debcd59d95d9248/687474703a2f2f706f7365722e707567782e6f72672f6465616473696d706c652f687976612d696e7075742d6d61736b2f76)](https://packagist.org/packages/deadsimple/hyva-input-mask) [![Total Downloads](https://camo.githubusercontent.com/d494972fe941b3d530795e063536de01da6eb99feb2b7f05056af9e6b9a6c9fe/687474703a2f2f706f7365722e707567782e6f72672f6465616473696d706c652f687976612d696e7075742d6d61736b2f646f776e6c6f616473)](https://packagist.org/packages/deadsimple/hyva-input-mask) [![Latest Unstable Version](https://camo.githubusercontent.com/58eadfe1a1ebd58187e2459d0066d4c036b86b1bc5afbbfe12b06ba602366ca4/687474703a2f2f706f7365722e707567782e6f72672f6465616473696d706c652f687976612d696e7075742d6d61736b2f762f756e737461626c65)](https://packagist.org/packages/deadsimple/hyva-input-mask) [![License](https://camo.githubusercontent.com/52dacbc79b55c9dae0596e8fe6faf1dc1dbab75d7e0172617b065547290a0db9/687474703a2f2f706f7365722e707567782e6f72672f6465616473696d706c652f687976612d696e7075742d6d61736b2f6c6963656e7365)](https://packagist.org/packages/deadsimple/hyva-input-mask) [![PHP Version Require](https://camo.githubusercontent.com/a5652728eefe84c5dab130c35267e41a93d67110e95f50b45b5fd4f4456fdcd9/687474703a2f2f706f7365722e707567782e6f72672f6465616473696d706c652f687976612d696e7075742d6d61736b2f726571756972652f706870)](https://packagist.org/packages/deadsimple/hyva-input-mask)

Deadsimple Hyva Input Mask Module using AlpineJs Plugin
=======================================================

[](#deadsimple-hyva-input-mask-module-using-alpinejs-plugin)

This module is a simple wrapper to integrate the input mask plugin from AlpineJs directly into your Hyvä theme and forms. It allows you to easily apply input masks to form fields, enhancing user experience and data validation.

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

[](#installation)

To install the module, follow these steps:

1. Install the module using Composer:

```
composer require deadsimple/hyva-inputmask
```

2. Enable the module:

```
bin/magento module:enable DeadSimple_HyvaInputMask
```

3. Run the setup upgrade:

```
bin/magento setup:upgrade
```

Usage
-----

[](#usage)

To use the input mask plugin, you need to add the `x-mask` attribute to your input field. The value of the `x-mask` attribute should be a valid mask pattern. For example:

```

```

This will apply a phone number mask to the input field, allowing only digits and formatting them as `999-999-9999`.

For more information on the available mask patterns and options, refer to the [AlpineJs Mask Plugin Documentation](https://alpinejs.dev/plugins/mask).

License
-------

[](#license)

This module is licensed under the MIT License. See the LICENSE file for more information.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance78

Regular maintenance activity

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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

Total

2

Last Release

117d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f3d6ed37e08e7303491ad700762cd7e23bd2301b64557b7398e8fb2ec191e3f?d=identicon)[mmeester](/maintainers/mmeester)

---

Top Contributors

[![mmeester](https://avatars.githubusercontent.com/u/655965?v=4)](https://github.com/mmeester "mmeester (12 commits)")

### Embed Badge

![Health badge](/badges/deadsimple-hyva-input-mask/health.svg)

```
[![Health](https://phpackages.com/badges/deadsimple-hyva-input-mask/health.svg)](https://phpackages.com/packages/deadsimple-hyva-input-mask)
```

###  Alternatives

[rs/laravel-version-control

Foundations for making your app version controlled. Provides migration, blueprint and base models. Will make your app GxP compliant if you exclusively use the VC models and table structure as set out in this package.

1227.5k](/packages/rs-laravel-version-control)[blackbird/hyva-splide-js

An implementation of SplideJS library in Hyvä Theme for Magento 2

2016.7k](/packages/blackbird-hyva-splide-js)[vendic/hyva-checkout-google-address-autocomplete

Hyvä checkout compatibility module for vendic/magento2-google-address-autocomplete

1331.3k1](/packages/vendic-hyva-checkout-google-address-autocomplete)[mad-web/laravel-seoable

Easy to map your eloquent fields to seo properties

407.6k](/packages/mad-web-laravel-seoable)

PHPackages © 2026

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