ddeboer/vatin
最新稳定版本:3.1.0
Composer 安装命令:
composer require ddeboer/vatin
包简介
Validate VAT identification numbers
README 文档
README
A small PHP library for validating VAT identification numbers (VATINs).
Installation
This library is available on Packagist:
$ composer require ddeboer/vatin
If you want to use this library in a Symfony application, you can use the VatinBundle instead.
Usage
Validate a VAT number’s format:
use Ddeboer\Vatin\Validator; $validator = new Validator(); $bool = $validator->isValid('NL123456789B01');
Additionally check whether the VAT number is in use, with a call to the VAT Information Exchange System (VIES) SOAP web service:
use Ddeboer\Vatin\Validator; $validator = new Validator(); $bool = $validator->isValid('NL123456789B01', true);
统计信息
- 总下载量: 2.76M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 142
- 点击次数: 2
- 依赖项目数: 8
- 推荐数: 2
其他信息
- 授权协议: MIT
- 更新时间: 2012-05-31