pajaeu/php-ares

Simple PHP library that verifies and loads informations about economical subjects registered in the Czech Republic from the ARES database.

1.2.1 2023-09-28 14:38 UTC

This package is not auto-updated.

Last update: 2024-09-12 19:05:24 UTC


README

Logo

PHP Ares Library

Simple PHP library that verifies and loads informations about economical subjects registered in the Czech Republic from the ARES database.

Composer tests Package Language Package License Package Stars Total Downloads

Instalation

composer require pajaeu/php-ares

How to use

<?php

use Ares\AresProvider;

require __DIR__ . '/vendor/autoload.php';

$ares = new AresProvider();

$ico = 'PASTE-ICO-HERE';

try{
    $company = $ares->getByIco($ico);
} catch (Exception $exception){
    echo $exception->getMessage();
}