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
Requires
- ext-simplexml: *
README
PHP Ares Library
Simple PHP library that verifies and loads informations about economical subjects registered in the Czech Republic from the ARES database.
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(); }