定制 ddeboer/vatin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ddeboer/vatin

最新稳定版本:3.1.0

Composer 安装命令:

composer require ddeboer/vatin

包简介

Validate VAT identification numbers

README 文档

README

Packagist Version

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

GitHub 信息

  • Stars: 141
  • Watchers: 11
  • Forks: 37
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-05-31