vatcheckapi/vatcheckapi-php
Composer 安装命令:
composer require vatcheckapi/vatcheckapi-php
包简介
PHP client for the vatcheckapi.com API (check, status)
README 文档
README
vatcheckapi-php
PHP client for the vatcheckapi.com API.
- Website:
https://vatcheckapi.com/
Installation
composer require vatcheckapi/vatcheckapi-php
Quickstart
<?php use VatCheckApi\Client; $client = new Client('YOUR_API_KEY'); // Check a VAT number $res = $client->check(['vat_number' => 'DE123456789']); var_dump($res); // Get API status $status = $client->status(); var_dump($status);
Authentication
Header-based by default (apikey: <key>). To send the key as a query parameter instead:
$client = new Client('YOUR_API_KEY', [ 'auth_method' => 'query' ]);
API
check(array $params = []): arraystatus(): array
License
MIT
统计信息
- 总下载量: 86
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-02