dfridrich / defr-ares-bundle
Symfony2 bundle for communication with ARES (Czech business register)
Installs: 32 774
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- php: >=5.4.0
- dfridrich/ares: ^1.0
- dfridrich/library: ^1.0
This package is auto-updated.
Last update: 2024-11-06 07:25:32 UTC
README
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
Add to AppKernel.php
new Defr\AresBundle\DefrAresBundle()
Usage
$this->get('defr_ares')->...
Methods
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)