dfridrich / defr-ares-bundle
Symfony2 扩展包,用于与捷克商业注册(ARES)通信
v1.0.2
2017-10-17 08:30 UTC
Requires
- php: >=5.4.0
- dfridrich/ares: ^1.0
- dfridrich/library: ^1.0
This package is auto-updated.
Last update: 2024-09-06 07:09:17 UTC
README
Symfony2 扩展包,用于与捷克商业注册(ARES)通信
通过 Composer 安装
将仓库添加到 composer.json 文件中
{ "require": { "dfridrich/defr-ares-bundle": "dev-master" } }
然后运行
php composer.phar update
或者直接运行
php composer.phar require dfridrich/defr-ares-bundle:dev-master
添加到 AppKernel.php
new Defr\AresBundle\DefrAresBundle()
用法
$this->get('defr_ares')->...
方法
findByIdentificationNumber($id), findInResById($id) — 查找公司详细信息
findVatById($id) — 查找捷克增值税ID
findByName($name, $city = null) — 根据名称(或部分)和城镇(可选)搜索记录