johnyricio / registry-ares
Read data from ARES
v2.1.1
2020-11-25 18:57 UTC
Requires
- php: ~7.3|~7.4|~8.0
- ext-simplexml: *
- guzzlehttp/guzzle: >=7.0.0
Requires (Dev)
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: >=0.12.56
- phpstan/phpstan-phpunit: ^0.12.16
- phpunit/phpunit: ^9.4
- slevomat/coding-standard: >=6.0.0
README
Ares
This package helps to read data from Czech govermant register named Ares and transfer it to easy readable VO.
How to install
composer require stepina/registry-ares
Example:
$ares = new \RegistryAres\Ares\Exception\src\Ares\Ares(new \GuzzleHttp\Client()); $dataAres = $ares->getByCompanyId('123123123');
Or use Dependency injection
getByCompanyId will return \registryAres\src\Ares\AresVO