johnyricio/registry-ares

Read data from ARES

v2.1.1 2020-11-25 18:57 UTC

This package is auto-updated.

Last update: 2024-06-08 00:22:28 UTC


README

Build Status codecov.io

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