PHPackages                             byte8/module-vat-validator-hyva - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. byte8/module-vat-validator-hyva

ActiveMagento2-module[Validation &amp; Sanitization](/categories/validation)

byte8/module-vat-validator-hyva
===============================

Hyvä-themed live VAT validation indicator for Byte8\_VatValidator (registration form + checkout).

1.0.0(1mo ago)01MITHTMLPHP ^8.1|^8.2|^8.3|^8.4|^8.5

Since Apr 28Pushed 1mo agoCompare

[ Source](https://github.com/byte8io/magento-vat-validator-hyva)[ Packagist](https://packagist.org/packages/byte8/module-vat-validator-hyva)[ RSS](/packages/byte8-module-vat-validator-hyva/feed)WikiDiscussions main Synced 1w ago

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

Byte8\_VatValidatorHyva — Hyvä companion for Byte8\_VatValidator
================================================================

[](#byte8_vatvalidatorhyva--hyvä-companion-for-byte8_vatvalidator)

Adds a live, debounced VAT-validation indicator to Hyvä-themed registration and address forms. Calls the standard `Byte8_VatValidator` REST endpoint and shows a green / red badge directly under the VAT input as the customer types.

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

[](#requirements)

- `byte8/module-vat-validator` ≥ 0.1.0
- A Hyvä-based theme (`hyva-themes/magento2-default-theme`)
- No additional JS dependencies — Alpine + Tailwind only, both ship with Hyvä

Core module
-----------

[](#core-module)

This is a storefront companion — it does nothing on its own. Install the core validator first: **[byte8/module-vat-validator](https://github.com/byte8io/magento-vat-validator)**. That module provides the EU VIES / UK HMRC / Swiss UID validation, REST endpoints, customer-group mapping, audit log, and CLI. This module just wires a live indicator into Hyvä forms.

```
composer require byte8/module-vat-validator
```

Install
-------

[](#install)

```
composer require byte8/module-vat-validator-hyva
bin/magento module:enable Byte8_VatValidatorHyva
bin/magento setup:upgrade
bin/magento cache:flush
```

What it does
------------

[](#what-it-does)

PageBehaviour`customer/account/create`Watches the `taxvat` field; shows live indicator`customer/address/form`Watches the `vat_id` + `country_id` fields; shows live indicatorBehaviour:

- 600 ms debounce — won't spam the REST endpoint while the user types
- Recognises both 2-letter ISO prefixes (`DE…`, `GB…`) and the Swiss 3-letter `CHE…` prefix
- Falls back to the country dropdown's value if no prefix is typed
- Hides itself silently on `unavailable` / `skipped` outcomes — never shows a misleading red badge when VIES is just slow

Customising
-----------

[](#customising)

Override `Byte8_VatValidatorHyva::vat-indicator.phtml` in your theme. The whole component is a single self-contained Alpine `x-data` block — drop in your own copy / icons / Tailwind classes.

Hyvä Checkout (Magewire)
------------------------

[](#hyvä-checkout-magewire)

Not yet shipped. The standard Hyvä Checkout uses Magewire components which need a server-side wire-class. Open an issue if you need it and we'll prioritise.

License
-------

[](#license)

MIT

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance91

Actively maintained with recent releases

Popularity2

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

Unknown

Total

1

Last Release

42d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/612c19aab21c48e9c7d11d11eab8863b9473743c6ab7335aeb5a1424129b46cc?d=identicon)[softcom](/maintainers/softcom)

---

Top Contributors

[![softcommerceltd](https://avatars.githubusercontent.com/u/6104757?v=4)](https://github.com/softcommerceltd "softcommerceltd (3 commits)")

### Embed Badge

![Health badge](/badges/byte8-module-vat-validator-hyva/health.svg)

```
[![Health](https://phpackages.com/badges/byte8-module-vat-validator-hyva/health.svg)](https://phpackages.com/packages/byte8-module-vat-validator-hyva)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.8M12](/packages/mollie-magento2)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1010.0k22](/packages/loki-magento2-components)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

19125.8k](/packages/imi-magento2-friendly-captcha)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

1512.6k](/packages/mage-os-module-inventory-reservations-grid)[loki/magento2-admin-components

Admin Panel grids and forms created via Loki Components

173.7k7](/packages/loki-magento2-admin-components)[elgentos/magento2-improved-customer-address-validation

Magento 2 module to disable or adjust customer address field validation such as street, city and telephone

1718.8k](/packages/elgentos-magento2-improved-customer-address-validation)

PHPackages © 2026

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