dfridrich / ares
Communication with ARES (Czech business register)
Installs: 393 967
Dependents: 2
Suggesters: 0
Security: 0
Stars: 26
Watchers: 7
Forks: 27
Open Issues: 2
Requires
- php: ^7.4|^8.0
- ext-simplexml: *
- beberlei/assert: ^2.4|^3.0
- dfridrich/library: ^1.37.14
- fabpot/goutte: ^4.0
- symfony/string: ^4|^5|^6
Requires (Dev)
README
Communication with ARES & Justice (Czech business registers).
Installation
composer require dfridrich/ares
Usage
<?php require __DIR__.'/vendor/autoload.php'; use Defr\Ares; $ares = new Ares(); $record = $ares->findByIdentificationNumber(73263753); // instance of AresRecord $people = $record->getCompanyPeople(); // array of Person
ARES Balancer
You can use simple balance script to spread the traffic among more IP addresses. See script examples/external.php
.
Usage
$ares = new Ares(); $ares->setBalancer('http://some.loadbalancer.domain');
Develop
Running tests suite in local docker environment
docker run -v `pwd`:/app -i -t php:7.2-fpm /bin/bash -c "/app/vendor/phpunit/phpunit/phpunit --colors --configuration /app/phpunit.xml /app/tests/"
Coding standard
Check
vendor/bin/symplify-cs check src tests
Fix
vendor/bin/symplify-cs fix src tests
Contributors
The list of people who contributed to this library.
- @dfridrich
- @TomasVotruba
- @filipmelik
- @Zemistr
- @jkuchar
- @petrparolek
- @tlapi