PHP code example of tady-eu / ares

1. Go to this page and download the library: Download tady-eu/ares library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tady-eu / ares example snippets



//  ...

$aresClient = new \BG\Ares\Client();

$recordByIC = $aresClient->findOneByIC(88673057); // Returns \BG\Ares\Record

$recordByParameters = $aresClient->findOneByQuery([
    "obchodni_firma" => "Jaromír Navara"
]);  // Returns \BG\Ares\Record

$multipleByParameters = $aresClient->findByQuery([
    "obchodni_firma" => "ASSECO"
]);  // Returns array \BG\Ares\Record[]