xentral/evatr-php
Composer 安装命令:
composer require xentral/evatr-php
包简介
PHP SDK for the German BZSt eVATR API - EU VAT ID verification
README 文档
README
eVATR PHP
PHP SDK for the German BZSt eVATR API — verify EU VAT identification numbers.
Installation
composer require xentral/evatr-php
Usage
<?php use Xentral\EvatrPhp\EvatrClient; use Xentral\EvatrPhp\Request\ConfirmationQuery; $client = new EvatrClient(); // Simple query $result = $client->verifyVatId( ConfirmationQuery::simple('DE123456789', 'ATU12345678') ); echo $result->isValid(); // true/false // Qualified query (with company data comparison) $result = $client->verifyVatId( ConfirmationQuery::qualified('DE123456789', 'ATU12345678', 'Firma GmbH', 'Wien') ); $result->companyNameResult; // ComparisonResult::MATCH (A), MISMATCH (B), NOT_REQUESTED (C), NOT_PROVIDED (D) // List EU member states and VIES availability $states = $client->getMemberStates();
License
The MIT License (MIT). Please see License File for more information.
Credits
- Sanan Guliyev
- All contributors who have helped improve this package
统计信息
- 总下载量: 23.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-18
