PHPackages                             vendic/hyva-checkout-eu-vat-id-format-validator - 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. vendic/hyva-checkout-eu-vat-id-format-validator

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

vendic/hyva-checkout-eu-vat-id-format-validator
===============================================

This Magento 2 extension validates the syntax of the VAT ID in the Hyvä checkout for EU countries

1.0.6(3mo ago)24.7k↓48.8%MITHTML

Since Sep 27Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/Vendic/hyva-checkout-eu-vat-id-format-validator)[ Packagist](https://packagist.org/packages/vendic/hyva-checkout-eu-vat-id-format-validator)[ RSS](/packages/vendic-hyva-checkout-eu-vat-id-format-validator/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (7)Dependencies (2)Versions (11)Used By (0)

Hyvä Checkout EU VAT ID Format Validator
========================================

[](#hyvä-checkout-eu-vat-id-format-validator)

**Note:** This module **only validates the syntax** of the VAT ID. It **does not perform a VIES check** to verify the validity of the VAT number.

For VIES validation, we recommend using the [Geissweb EU VAT Enhanced for Magento 2](https://geissweb.com/eu-vat-enhanced-for-magento-2.html) extension, along with the [Hyvä Checkout Geissweb EU VAT Compatibility Module](https://github.com/Vendic/hyva-checkout-geissweb-euvat). Both extensions are required for full Hyvä Checkout compatibility.

This extension is designed to function alongside those extensions to ensure that a client cannot checkout with an **incorrectly formatted** VAT ID. This feature can be particularly useful for B2B projects.

---

Features
--------

[](#features)

- VAT ID syntax validation for EU member states
- Easily translatable error messages
- Hyvä-compatible validation rules
- Non-EU countries bypass validation (always return `true`)

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

[](#installation)

### 1. Prerequisites

[](#1-prerequisites)

Before you install this extension, make sure you have the following installed:

- Magento 2
- [Hyvä Checkout](https://github.com/hyva-themes/magento2-hyva-checkout) v1.1.23 or higher

### 2. Install via Composer

[](#2-install-via-composer)

To install this extension, run the following commands in your Magento 2 root directory:

```
composer require vendic/hyva-checkout-eu-vat-id-format-validator
bin/magento setup:upgrade
```

Configuration
-------------

[](#configuration)

No configuration is needed. The extension will automatically validate the VAT ID during checkout in the Hyvä Checkout form. The validation is based on the country selected in the checkout form.

Contributing
------------

[](#contributing)

We welcome contributions to improve this extension. Feel free to open issues or submit pull requests via the [GitHub issues](https://github.com/Vendic/hyva-checkout-eu-vat-id-format-validator/issues).

License
-------

[](#license)

This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance82

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% 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 ~92 days

Recently: every ~120 days

Total

7

Last Release

91d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/459ec352617fd5a9f46070338b99ed03828fc902eb0a361aed717576e67bd2c4?d=identicon)[TjitseE](/maintainers/TjitseE)

---

Top Contributors

[![Tjitse-E](https://avatars.githubusercontent.com/u/14849044?v=4)](https://github.com/Tjitse-E "Tjitse-E (8 commits)")[![OlgaVendic](https://avatars.githubusercontent.com/u/174311660?v=4)](https://github.com/OlgaVendic "OlgaVendic (2 commits)")[![ThijmenKort](https://avatars.githubusercontent.com/u/101055765?v=4)](https://github.com/ThijmenKort "ThijmenKort (2 commits)")[![Erwin-Vendic](https://avatars.githubusercontent.com/u/162570988?v=4)](https://github.com/Erwin-Vendic "Erwin-Vendic (1 commits)")[![glevhen](https://avatars.githubusercontent.com/u/16398798?v=4)](https://github.com/glevhen "glevhen (1 commits)")[![kis28viktor](https://avatars.githubusercontent.com/u/8430443?v=4)](https://github.com/kis28viktor "kis28viktor (1 commits)")

---

Tags

hyvahyva-checkoutmagento2-extension

### Embed Badge

![Health badge](/badges/vendic-hyva-checkout-eu-vat-id-format-validator/health.svg)

```
[![Health](https://phpackages.com/badges/vendic-hyva-checkout-eu-vat-id-format-validator/health.svg)](https://phpackages.com/packages/vendic-hyva-checkout-eu-vat-id-format-validator)
```

###  Alternatives

[mollie/magento2-hyva-checkout

Hyvä Themes Checkout module for Mollie Payments

11240.0k](/packages/mollie-magento2-hyva-checkout)[marcosh/php-validation-dsl

A DSL for validating data in a functional fashion

483.9k](/packages/marcosh-php-validation-dsl)

PHPackages © 2026

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