Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dfridrich/ares
Communication with ARES (Czech business register)
https://github.com/dfridrich/ares
ares czech-business-register php
Last synced: 2 days ago
JSON representation
Communication with ARES (Czech business register)
- Host: GitHub
- URL: https://github.com/dfridrich/ares
- Owner: dfridrich
- License: mit
- Created: 2014-07-03T14:31:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-09-19T05:41:50.000Z (over 1 year ago)
- Last Synced: 2025-01-17T05:06:12.150Z (9 days ago)
- Topics: ares, czech-business-register, php
- Language: PHP
- Size: 83 KB
- Stars: 26
- Watchers: 7
- Forks: 27
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ARES
[![Build Status](https://img.shields.io/travis/dfridrich/Ares.svg?style=flat-square)](https://travis-ci.org/dfridrich/Ares)
[![Quality Score](https://img.shields.io/scrutinizer/g/dfridrich/Ares.svg?style=flat-square)](https://scrutinizer-ci.com/g/dfridrich/Ares)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/dfridrich/Ares.svg?style=flat-square)](https://scrutinizer-ci.com/g/dfridrich/Ares)
[![Downloads](https://img.shields.io/packagist/dt/dfridrich/ares.svg?style=flat-square)](https://packagist.org/packages/dfridrich/ares)
[![Latest stable](https://img.shields.io/packagist/v/dfridrich/ares.svg?style=flat-square)](https://packagist.org/packages/dfridrich/ares)Communication with ARES & Justice (Czech business registers).
## Installation
```sh
composer require dfridrich/ares
```## Usage
```php
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
```php
$ares = new Ares();
$ares->setBalancer('http://some.loadbalancer.domain');
```## Develop
### Running tests suite in local docker environment
```php
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