PHPackages                             evertharmeling/vat-client - 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. [API Development](/categories/api)
4. /
5. evertharmeling/vat-client

ActiveLibrary[API Development](/categories/api)

evertharmeling/vat-client
=========================

Client library for the VIES/EU web service.

2.1.0(4y ago)37.6k2MITPHPPHP ^7.1 || ^8

Since Jun 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/evertharmeling/vat-client)[ Packagist](https://packagist.org/packages/evertharmeling/vat-client)[ Docs](https://github.com/evertharmeling/vat-client)[ RSS](/packages/evertharmeling-vat-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (5)Versions (7)Used By (0)

VATClient
=========

[](#vatclient)

[![Latest Stable Version](https://camo.githubusercontent.com/fccc2955fdda43d9e1d94c2071f0192764558f351fe7f17bd7984fc370276472/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f65766572746861726d656c696e672f7661742d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/evertharmeling/vat-client)[![Build Status](https://camo.githubusercontent.com/4f676db0c8786c892d4758353f298e91e4ee1dc5fb94e20e431c0e746c78ca5f/68747470733a2f2f7472617669732d63692e6f72672f65766572746861726d656c696e672f7661742d636c69656e742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/evertharmeling/vat-client)

This libray supports validating a vat number and getting the info about a taxable object. The library uses the `http://www.controleerbtwnummer.nl/` API to retrieve the info and validation. The `http://www.controleerbtwnummer.nl/` API relies on the [VIES/EU](http://ec.europa.eu/taxation_customs/vies/?locale=en) service and thus supports VAT numbers from all EU-countries.

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

[](#installation)

`composer require evertharmeling/vat-client`

Usage
-----

[](#usage)

It's required to use a PSR-7 supported HTTPClient like `guzzle` (^6.0) to inject in the `Client`.

```
$client = new VIESApi\Client\Client(new GuzzleHttp\Client(), VIESApi\Parser\VATParser());

try {
    $taxableObject = $client->getInfo('');

    var_dump($taxableObject);
catch (TaxableObjectNotFoundException $e) {
    // VAT number not found
}
```

Roadmap
-------

[](#roadmap)

- Formatter, add formatter who according to the regexes defined in the validator, formats the VAT number

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

1639d ago

Major Versions

1.0.2 → 2.0.02019-07-23

PHP version history (3 changes)1.0.0PHP &gt;=5.5.0

2.0.0PHP ^7.1

2.1.0PHP ^7.1 || ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1fb962fbcdb8ca6eb8f978e1dca5798aeab182097a79f7896a1fdc7f963aab0?d=identicon)[evertharmeling](/maintainers/evertharmeling)

---

Top Contributors

[![christianmarx](https://avatars.githubusercontent.com/u/11719251?v=4)](https://github.com/christianmarx "christianmarx (1 commits)")

---

Tags

btwlibraryphpphp7vat-numbervat-validationviesapiclientvatviesopen datacontroleerbtwnummer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/evertharmeling-vat-client/health.svg)

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

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[apigee/apigee-client-php

Client library for connecting to the Apigee Edge API.

27558.7k3](/packages/apigee-apigee-client-php)[freshheads/postcode-api-client

Client library for the postcodeapi.nu web service.

16125.5k](/packages/freshheads-postcode-api-client)[madkom/docker-registry-api

Client for docker registry.

149.2k](/packages/madkom-docker-registry-api)[dhope0000/lxd

PHP-based API wrapper for LXD REST API.

136.2k](/packages/dhope0000-lxd)[gladyshev/yandex-direct-client

Useful Yandex.Direct API v5 client.

1912.0k](/packages/gladyshev-yandex-direct-client)

PHPackages © 2026

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