filippo-toso/vat-api 问题修复 & 功能扩展

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

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

filippo-toso/vat-api

Composer 安装命令:

composer require filippo-toso/vat-api

包简介

A simple class to get European VAT ID details (company name and address)

README 文档

README

A simple class to get European VAT ID details (company name and address).

Requirements

  • PHP 5.6+
  • Laravel 5.0+
  • sunra/php-simple-html-dom-parser 1.5+
  • guzzlehttp/guzzle 6.2+

Installing

Use Composer to install it:

composer require filippo-toso/vat-api

If you are using Laravel < 5.5, you also need to register the service provider and the alias.

To do so, add the following row in the providers array of your config/app.php:

FilippoToso\VatApi\VatApiServiceProvider::class,

You should also add the following row in the aliases array of the same config/app.php file:

'Vat'   => FilippoToso\VatApi\VatApiFacade::class,

Using It

The use is very simple:

$details = Vat::details('LU26375245');

This will return the following array:

[

    [valid] => TRUE
    [vat_id] => IT02861640304
    [name] => CREATIVE PARK DI FILIPPO TOSO
    [addresses] => [
        [0] => VIA DANTE 1/B
        [1] => 33057 PALMANOVA UD
    ]
    [address] => VIA DANTE 1/B 33057 PALMANOVA UD
    [error] => FALSE
]

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固