prometee / vies-client-bundle
European VAT Information Exchange System SOAP client bundle
Package info
github.com/Prometee/VIESClientBundle
Type:symfony-bundle
pkg:composer/prometee/vies-client-bundle
Requires
- prometee/vies-client: ^1.0
- symfony/config: ^7.4|^8.1
- symfony/dependency-injection: ^7.4|^8.1
- symfony/http-kernel: ^7.4|^8.1
- symfony/validator: ^7.4|^8.1
Requires (Dev)
- ext-soap: *
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: ^2
- phpstan/phpstan-symfony: ^2
- phpunit/phpunit: ^11|^12|^13
- symplify/easy-coding-standard: ^13
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
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
Requires Symfony 7.4 or 8.1 and later within those major versions. Symfony 6.4 is no longer supported.
Install using Composer :
$ composer require prometee/vies-client-bundle
Usage
Configure VatNumber with named arguments (message, groups, payload); the legacy options-array syntax is no longer supported.
Use it as a validation constraint in an Entity or a Model class.
You can also use it as a FormType field constraint.
use Prometee\VIESClientBundle\Constraints\VatNumber; class User { #[VatNumber(message: "My custom error message")] private $vatNumber; }