Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lamoda/atol-client

ATOL API v3/v4/v5 client for PHP
https://github.com/lamoda/atol-client

api atol fiscalization fz-54 php

Last synced: 9 days ago
JSON representation

ATOL API v3/v4/v5 client for PHP

Awesome Lists containing this project

README

        

# ATOL PHP Client
ATOL API v3/v4/v5 client for PHP

https://online.atol.ru/

[![Build Status](https://travis-ci.org/lamoda/atol-client.svg?branch=master)](https://travis-ci.org/lamoda/atol-client)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/lamoda/atol-client/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/lamoda/atol-client/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/lamoda/atol-client/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/lamoda/atol-client/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/lamoda/atol-client/badges/build.png?b=master)](https://scrutinizer-ci.com/g/lamoda/atol-client/build-status/master)

## Installation

Usage is as simple as

1. Install library
```bash
composer require lamoda/atol-client
```

2. Better to use this library with symfony: https://github.com/lamoda/atol-client-bundle

3. But you can configure it manually (you will probably need some factory:
```php
build();
}

private static function createValidator(): ValidatorInterface
{
return Validation::createValidatorBuilder()
->enableAnnotationMapping()
->getValidator();
}
}
```