PHPackages                             wpovernight/vat-number-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. wpovernight/vat-number-validator

AbandonedArchivedLibrary[Validation &amp; Sanitization](/categories/validation)

wpovernight/vat-number-validator
================================

PHP library to validate VAT numbers

v2.0.0(4y ago)05MITPHP

Since Apr 14Pushed 4y agoCompare

[ Source](https://github.com/wpovernight/vat-number-validator)[ Packagist](https://packagist.org/packages/wpovernight/vat-number-validator)[ RSS](/packages/wpovernight-vat-number-validator/feed)WikiDiscussions main Synced 2mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

VAT number validator
====================

[](#vat-number-validator)

PHP library to validate VAT numbers.

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

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this library:

```
$ composer require wpovernight/vat-number-validator
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Basic usage
-----------

[](#basic-usage)

To validate a VAT number:

```
use WPO\Component\VatNumberValidator\VatNumberValidator;

$validator = new VatNumberValidator;
$valid = $validator->validate('ATU37675002');
```

Origin
------

[](#origin)

This library is the PHP rewrite of [original JavaScript library](http://www.braemoor.co.uk/software/vat.shtml) by Braemoor Software Freebies. Original contributors are found [here](http://www.braemoor.co.uk/software/vatupdates.shtml).

License
-------

[](#license)

This library is under [MIT License](http://opensource.org/licenses/mit-license.php).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 77.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 ~282 days

Recently: every ~401 days

Total

7

Last Release

1618d ago

Major Versions

v1.2.0 → v2.0.02021-12-03

### Community

---

Top Contributors

[![antalaron](https://avatars.githubusercontent.com/u/9386504?v=4)](https://github.com/antalaron "antalaron (17 commits)")[![Spreeuw](https://avatars.githubusercontent.com/u/3217773?v=4)](https://github.com/Spreeuw "Spreeuw (2 commits)")[![proggeler](https://avatars.githubusercontent.com/u/18281353?v=4)](https://github.com/proggeler "proggeler (1 commits)")[![timwendisch](https://avatars.githubusercontent.com/u/19816873?v=4)](https://github.com/timwendisch "timwendisch (1 commits)")[![TNAJanssen](https://avatars.githubusercontent.com/u/2812277?v=4)](https://github.com/TNAJanssen "TNAJanssen (1 commits)")

### Embed Badge

![Health badge](/badges/wpovernight-vat-number-validator/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[nette/forms

📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server &amp; client side validation and mature design.

54013.2M448](/packages/nette-forms)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)

PHPackages © 2026

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