https://github.com/prometee/viesclientbundle
European VAT Information Exchange System SOAP client bundle
https://github.com/prometee/viesclientbundle
Last synced: 11 days ago
JSON representation
European VAT Information Exchange System SOAP client bundle
- Host: GitHub
- URL: https://github.com/prometee/viesclientbundle
- Owner: Prometee
- Created: 2018-11-29T15:26:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-26T18:06:21.000Z (2 months ago)
- Last Synced: 2025-04-18T02:02:02.697Z (16 days ago)
- Language: PHP
- Size: 47.9 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Build Status][ico-github-actions]][link-github-actions]
[![Quality Score][ico-code-quality]][link-code-quality]## European VAT Information Exchange System SOAP client
This library is designed to handle validation trough VIES Soap WebService.
See http://ec.europa.eu/taxation_customs/vies/ for more information.
## Installation
Install using Composer :
```
$ composer require prometee/vies-client-bundle
```## Usage
Use it as a validation constraint in an `Entity` or a `Model` class.
You can also use it as a `FormType` field constraint.```php
use Prometee\VIESClientBundle\Constraints\VatNumber;
class User
{
#[VatNumber(message: "My custom error message")]
private $vatNumber;
}```
[ico-version]: https://img.shields.io/packagist/v/Prometee/vies-client-bundle.svg?style=flat-square
[ico-github-actions]: https://github.com/Prometee/VIESClientBundle/workflows/Build/badge.svg
[ico-code-quality]: https://img.shields.io/scrutinizer/g/Prometee/VIESClientBundle.svg?style=flat-square[link-packagist]: https://packagist.org/packages/prometee/vies-client-bundle
[link-github-actions]: https://github.com/Prometee/VIESClientBundle/actions?query=workflow%3A"Build"
[link-scrutinizer]: https://scrutinizer-ci.com/g/Prometee/VIESClientBundle/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/Prometee/VIESClientBundle