https://github.com/dfridrich/defraresbundle
Symfony2 bundle for communication with ARES (Czech business register)
https://github.com/dfridrich/defraresbundle
Last synced: 4 months ago
JSON representation
Symfony2 bundle for communication with ARES (Czech business register)
- Host: GitHub
- URL: https://github.com/dfridrich/defraresbundle
- Owner: dfridrich
- License: mit
- Created: 2014-07-03T08:47:27.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-10-17T08:31:27.000Z (over 7 years ago)
- Last Synced: 2025-03-15T08:45:45.485Z (4 months ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DefrAresBundle
Symfony2 bundle for communication with ARES (Czech business register)
Installation via [Composer](https://getcomposer.org/)
-----------------------------------------------------Add repository to your composer.json:
``` sh
{
"require": {
"dfridrich/defr-ares-bundle": "dev-master"
}
}
```Then run
``` sh
php composer.phar update
```Or directly run
``` sh
php composer.phar require dfridrich/defr-ares-bundle:dev-master
```Add to AppKernel.php
--------------------``` php
new Defr\AresBundle\DefrAresBundle()
```Usage
-----``` php
$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)