PHPackages                             revotale/checkbox-ua - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. revotale/checkbox-ua

ActiveLibrary[API Development](/categories/api)

revotale/checkbox-ua
====================

A library to interact with https://checkbox.ua API.

v0.1.0(5mo ago)04.2k↓71.5%[1 issues](https://github.com/RevoTale/php-checkbox-ua/issues)[2 PRs](https://github.com/RevoTale/php-checkbox-ua/pulls)MITPHPPHP ^8.2CI passing

Since Oct 29Pushed 1w agoCompare

[ Source](https://github.com/RevoTale/php-checkbox-ua)[ Packagist](https://packagist.org/packages/revotale/checkbox-ua)[ RSS](/packages/revotale-checkbox-ua/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (5)Versions (34)Used By (0)

About
=====

[](#about)

Checkbox.ua has an OpenAPI specification () that is incorrectly described in many places. For example, lack of nullable union types and different datetime formats for semantically same fields. This causes generated client libraries to throw unexpected errors.

Initial library code was generated by [JanePHP](https://github.com/janephp/janephp). That code was modified manually to add nullables and handle specific date formats for different fields.

General logic is still handled by [JanePHP runtime](https://github.com/janephp/janephp).

Installation
------------

[](#installation)

```
composer require revotale/checkbox-ua
```

Usage
-----

[](#usage)

Example with [signing in cashier with pin code and licence key](https://api.checkbox.in.ua/api/docs#/%D0%9A%D0%B0%D1%81%D0%B8%D1%80/sign_in_cashier_api_v1_cashier_signin_post):

```
