PHPackages                             catgento/magento2-vatid-country-dependency - 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. catgento/magento2-vatid-country-dependency

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

catgento/magento2-vatid-country-dependency
==========================================

Sets whether VAT number is required or not depending on country

0.1.1(4y ago)05OSL-3.0PHPPHP ~7.1.3||~7.2.0||~7.3.0||~7.4.0

Since Apr 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/catgento/magento2-vatid-country-dependency)[ Packagist](https://packagist.org/packages/catgento/magento2-vatid-country-dependency)[ RSS](/packages/catgento-magento2-vatid-country-dependency/feed)WikiDiscussions main Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Set VAT ID requirement dependency based on country
==================================================

[](#set-vat-id-requirement-dependency-based-on-country)

This module allows you to:

- Set VAT ID requirement dependency based on country
- Select the countries for which VAT ID is required
- Hide/Show VAT ID field on checkout depending on the country requirement

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

[](#installation)

### Composer

[](#composer)

```
    composer require catgento/magento2-vatid-country-dependency

```

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

[](#configuration)

In Stores &gt; Configuration &gt; Customers &gt; Customer Configuration &gt; Name and Address Options &gt; Show Tax/VAT Number, when you select 'Required', two new fields will be displayed:

- Required Countries for VAT (empty for all): you can select here the countries for which VAT ID is required (if no country is selected, VAT ID will be required for all, keeping default Magento functionality)
- Hide VAT field if not required: you can hide VAT field if VAT ID is not required for the selected countries

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Total

2

Last Release

1536d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/506393?v=4)[Pau Iranzo](/maintainers/PauGNU)[@paugnu](https://github.com/paugnu)

---

Top Contributors

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

---

Tags

magento2

### Embed Badge

![Health badge](/badges/catgento-magento2-vatid-country-dependency/health.svg)

```
[![Health](https://phpackages.com/badges/catgento-magento2-vatid-country-dependency/health.svg)](https://phpackages.com/packages/catgento-magento2-vatid-country-dependency)
```

###  Alternatives

[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)
