Skip to content

jkbnerad/phpares

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpares

PHP knihovna ke stahování informací z ARES (Administrativní registr ekonomických subjektů).

Instalace

composer require jkbnerad/ares

Použití

<?php

declare(strict_types=1);

$client = new \GuzzleHttp\Client();
$validator = new \phpares\Validator();

$identificationData = new \phpares\IdentificationData($validator, $client);
$address = $identificationData->getAddress(48136450);

Výstup

[
    'id' => '209604861',
    'district' => 'Olomouc',
    'city' => 'Olomouc',
    'street' => 'Šemberova',
    'number' => '66',
    'numberType' => '1',
    'numberSecondary' => '9',
    'zipCode' => '77900'
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages