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(6mo ago)0318MITHTML

Since Jan 12Pushed 6mo 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 4w 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

33

—

LowBetter than 72% of packages

Maintenance66

Regular maintenance activity

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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

208d 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

[farmos/farmos

A web-based farm record keeping application.

1.3k7.3k1](/packages/farmos-farmos)[vendic/hyva-checkout-google-address-autocomplete

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

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

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

2019.6k](/packages/blackbird-hyva-splide-js)[zero1/open-pos

126.6k2](/packages/zero1-open-pos)[blackbird/module-hyva-algolia-search

Blackbird\_HyvaAlgoliaSearch makes Algolia\_AlgoliaSearch compatible with Hyvä Themes

1424.9k](/packages/blackbird-module-hyva-algolia-search)

PHPackages © 2026

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