PHPackages                             prometee/vies-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. [HTTP &amp; Networking](/categories/http)
4. /
5. prometee/vies-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

prometee/vies-client
====================

European VAT Information Exchange System SOAP client

v1.0.8(1y ago)557.0k↑316.4%1[1 PRs](https://github.com/Prometee/VIESClient/pulls)1MITPHPPHP ^7.2|^8.0

Since Nov 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Prometee/VIESClient)[ Packagist](https://packagist.org/packages/prometee/vies-client)[ RSS](/packages/prometee-vies-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (9)Dependencies (3)Versions (11)Used By (1)

[![Latest Version on Packagist](https://camo.githubusercontent.com/15c6719d7d3a973f798d7b715e0c4661c3eb30d082d8466c93fbe765abc89d7b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f50726f6d657465652f766965732d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/prometee/vies-client)[![Build Status](https://github.com/Prometee/VIESClient/workflows/Build/badge.svg)](https://github.com/Prometee/VIESClient/actions?query=workflow%3A%22Build%22)[![Quality Score](https://camo.githubusercontent.com/66d0c9ef34f1f157133d3690bfa27f9dd9baea08b4e6a9f60327d6251f928b80/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f50726f6d657465652f56494553436c69656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Prometee/VIESClient)

European VAT Information Exchange System SOAP client
----------------------------------------------------

[](#european-vat-information-exchange-system-soap-client)

This library is designed to handle validation trough VIES Soap WebService.

See [https://ec.europa.eu/taxation\_customs/vies/](https://ec.europa.eu/taxation_customs/vies/) for more information.

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

[](#installation)

Install using Composer :

```
$ composer require prometee/vies-client

```

Usage
-----

[](#usage)

```
$loader = require_once( __DIR__.'/vendor/autoload.php');

use Prometee\VIESClient\Soap\Client\DeferredViesSoapClient;
use Prometee\VIESClient\Soap\Client\ViesSoapClient;
use Prometee\VIESClient\Soap\Factory\ViesSoapClientFactory;
use Prometee\VIESClient\Helper\ViesHelper;

// Use the Deferred client to avoid getting error
// when the WSDL file is not accessible
$viesSoapClientFactory = ViesSoapClientFactory(ViesSoapClient::class);
$viesSoapClient = new DeferredViesSoapClient($viesSoapClientFactory);

$viesHelper = new ViesHelper($viesSoapClient);
$viesHelper->isValid('FR12345678987');

// Should print:
// 0: CHECK_STATUS_INVALID => Format is not valid and the webservice is not reachable)
// 1: CHECK_STATUS_INVALID_WEBSERVICE => Format is not valid according to the webservice
// 2: CHECK_STATUS_VALID_FORMAT => Format is valid but the webservice is not reachable
// 3: CHECK_STATUS_VALID_WEBSERVICE => Format is valid and the VAT number exists
print_r($viesHelper->isValid('FR12345678987'));
```

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance41

Moderate activity, may be stable

Popularity36

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 96.1% 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 ~285 days

Recently: every ~325 days

Total

9

Last Release

492d ago

PHP version history (3 changes)v1.0.0PHP ^7.1

v1.0.1PHP ^7.2

v1.0.4PHP ^7.2|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/861820?v=4)[Francis Hilaire](/maintainers/Prometee)[@Prometee](https://github.com/Prometee)

---

Top Contributors

[![Prometee](https://avatars.githubusercontent.com/u/861820?v=4)](https://github.com/Prometee "Prometee (49 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/prometee-vies-client/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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