PHPackages                             aran/vat-lookup - 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. aran/vat-lookup

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

aran/vat-lookup
===============

A very simple, light weight PHP client for validating any EU VAT number against the official europa.eu API

10PHP

Since Aug 28Pushed 6y agoCompare

[ Source](https://github.com/aran112000/EU-VAT-Number-Validation)[ Packagist](https://packagist.org/packages/aran/vat-lookup)[ RSS](/packages/aran-vat-lookup/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

EU VAT Number Validation (PHP)
==============================

[](#eu-vat-number-validation-php)

A very simple, light weight PHP client for validating EU VAT numbers against the central europa.eu database.

**Here's a very simple example of this client in action:**

```
$vat_number = '123 4567 89'; // The VAT number you wish to lookup
$country_code = 'GB';

$details = (new vatRegistration)->checkVat($vat_number, $country_code);

var_dump($details)
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5295?v=4)[Aran Donohue](/maintainers/aran)[@aran](https://github.com/aran)

---

Top Contributors

[![aran112000](https://avatars.githubusercontent.com/u/3313791?v=4)](https://github.com/aran112000 "aran112000 (7 commits)")

### Embed Badge

![Health badge](/badges/aran-vat-lookup/health.svg)

```
[![Health](https://phpackages.com/badges/aran-vat-lookup/health.svg)](https://phpackages.com/packages/aran-vat-lookup)
```

###  Alternatives

[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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