定制 conedevelopment/vies-php 二次开发

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

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

conedevelopment/vies-php

Composer 安装命令:

composer require conedevelopment/vies-php

包简介

The VIES API PHP SDK.

README 文档

README

This is the contract for Vies on-the-Web endpoints. The checkVat service supports exact and approximate matching at the same time. In order to retrieve the requestIdentifier, the information about requesterMemberStateCode and requesterNumber have to be provided.

Installation

Requirements

  • PHP 8.1+.

Composer

composer require conedevelopment/vies-php

Then run composer install

Usage

use Cone\Vies\Client;
use Cone\Vies\Model\CheckVatRequest;
use Throwable;

$client = new Client;

try {
    $response = $client->api()->checkVatNumber(new CheckVatRequest([
        'countryCode' => 'HU',
        'vatNumber' => '12345678',
    ]));

    // Handle response
} catch (Throwable $e) {
    // Handle exception, report to Sentry etc...
}

API Endpoints

All URIs are relative to https://ec.europa.eu/taxation_customs/vies/rest-api

Class Method HTTP request Description
PublicApi checkStatus GET /check-status Check the status of each member states
PublicApi checkVatNumber POST /check-vat-number Check a Vat Number for a specific country
PublicApi checkVatTestService POST /check-vat-test-service Test the check vat service

Models

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固