承接 evertharmeling/vat-client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

evertharmeling/vat-client

Composer 安装命令:

composer require evertharmeling/vat-client

包简介

Client library for the VIES/EU web service.

README 文档

README

Latest Stable Version Build Status

This libray supports validating a vat number and getting the info about a taxable object. The library uses the http://www.controleerbtwnummer.nl/ API to retrieve the info and validation. The http://www.controleerbtwnummer.nl/ API relies on the VIES/EU service and thus supports VAT numbers from all EU-countries.

Installation

composer require evertharmeling/vat-client

Usage

It's required to use a PSR-7 supported HTTPClient like guzzle (^6.0) to inject in the Client.

$client = new VIESApi\Client\Client(new GuzzleHttp\Client(), VIESApi\Parser\VATParser());

try {
    $taxableObject = $client->getInfo('<VATNumber>');
    
    var_dump($taxableObject);
catch (TaxableObjectNotFoundException $e) {
    // VAT number not found
}

Roadmap

  • Formatter, add formatter who according to the regexes defined in the validator, formats the VAT number

统计信息

  • 总下载量: 7.63k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固