定制 prometee/vies-client 二次开发

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

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

prometee/vies-client

最新稳定版本:v1.0.8

Composer 安装命令:

composer require prometee/vies-client

包简介

European VAT Information Exchange System SOAP client

README 文档

README

Latest Version on Packagist Build Status Quality Score

European VAT Information Exchange System SOAP client

This library is designed to handle validation trough VIES Soap WebService.

See https://ec.europa.eu/taxation_customs/vies/ for more information.

Installation

Install using Composer :

$ composer require prometee/vies-client 

Usage

$loader = require_once( __DIR__.'/vendor/autoload.php'); use Prometee\VIESClient\Soap\Client\DeferredViesSoapClient; use Prometee\VIESClient\Soap\Client\ViesSoapClient; use Prometee\VIESClient\Soap\Factory\ViesSoapClientFactory; use Prometee\VIESClient\Helper\ViesHelper; // Use the Deferred client to avoid getting error // when the WSDL file is not accessible $viesSoapClientFactory = ViesSoapClientFactory(ViesSoapClient::class); $viesSoapClient = new DeferredViesSoapClient($viesSoapClientFactory); $viesHelper = new ViesHelper($viesSoapClient); $viesHelper->isValid('FR12345678987'); // Should print: // 0: CHECK_STATUS_INVALID => Format is not valid and the webservice is not reachable) // 1: CHECK_STATUS_INVALID_WEBSERVICE => Format is not valid according to the webservice // 2: CHECK_STATUS_VALID_FORMAT => Format is valid but the webservice is not reachable // 3: CHECK_STATUS_VALID_WEBSERVICE => Format is valid and the VAT number exists print_r($viesHelper->isValid('FR12345678987'));

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固