lightools/ares
最新稳定版本:v1.0.0
Composer 安装命令:
composer require lightools/ares
包简介
Simple finder of Czech companies in ARES database.
README 文档
README
This library provides simple interface for finding basic information about Czech companies registered in ARES database.
Installation
$ composer require lightools/ares
Simple usage
$client = new Bitbang\Http\Clients\CurlClient(); // you will probably need to setup CURLOPT_CAINFO or CURLOPT_SSL_VERIFYPEER $loader = new Lightools\Xml\XmlLoader(); $finder = new Lightools\Ares\CompanyFinder($client, $loader); try { $company = $finder->find('66872944'); if ($company === NULL) { // not found } else { echo $company->getVatNumber(); } } catch (Lightools\Ares\LookupFailedException $e) { // process exception }
How to run tests
$ vendor/bin/tester tests
统计信息
- 总下载量: 6.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-03-22