lfbellante/vies 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

lfbellante/vies

最新稳定版本:v1.2.0

Composer 安装命令:

composer require lfbellante/vies

包简介

This package controls the vat id in VIES system and returns company information if exist.

README 文档

README

Vies is a laravel library for check the vat Id of Italy companies.

Installation

Use the following command to install vies.

composer require lfbellante/vies

Next, you should publish the Vies configuration file using the vendor:publish Artisan command. The vies configuration file will be placed in your application's config directory.

# Publish config file
php artisan vendor:publish --tag=vies

Usage

Vies::checkVat('VAT Number', 'Country Code, default IT');

Response

{
    "vatId": "00488410010",
    "companyName": "TIM S.P.A.",
    "address": {
        "street": "VIA GAETANO NEGRI 1 ",
        "city": "MILANO",
        "province": "MI",
        "postalCode": "20123"
    }
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-11-30