Symfony2 bundle for communication with ARES (Czech business register)
Installation via Composer
Add repository to your composer.json:
{
"require": {
"dfridrich/defr-ares-bundle": "dev-master"
}
}
Then run
php composer.phar update
Or directly run
php composer.phar require dfridrich/defr-ares-bundle:dev-master
new Defr\AresBundle\DefrAresBundle()
$this->get('defr_ares')->...
findByIdentificationNumber($id), findInResById($id) — Find company details
findVatById($id) — Look for czech VAT ID
findByName($name, $city = null) — Search records based on name (or part) and town (optional)