Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dfridrich/defraresbundle
Symfony2 bundle for communication with ARES (Czech business register)
https://github.com/dfridrich/defraresbundle
Last synced: about 2 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-17T08:31:27.000Z (about 7 years ago)
- Last Synced: 2023-09-18T16:42:59.889Z (over 1 year ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- 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)