Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/revotale/php-checkbox-ua
PHP SDK to interact with checkbox.ua (https://api.checkbox.in.ua/api/docs) service.
https://github.com/revotale/php-checkbox-ua
client-library fiscalization php php-library
Last synced: 29 days ago
JSON representation
PHP SDK to interact with checkbox.ua (https://api.checkbox.in.ua/api/docs) service.
- Host: GitHub
- URL: https://github.com/revotale/php-checkbox-ua
- Owner: RevoTale
- License: mit
- Created: 2023-10-23T15:16:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-16T15:18:10.000Z (4 months ago)
- Last Synced: 2024-11-21T12:11:27.548Z (about 1 month ago)
- Topics: client-library, fiscalization, php, php-library
- Language: PHP
- Size: 556 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About
Checkbox.ua have OpenAPI specification (https://api.checkbox.in.ua/api/openapi.json)
that is incorrectly described in many places.
For example, lack of nullable union types and different datetime format for the semantically same type of field.
That causes generated client libraries to throw unexpected error.Initial library code was generated by [JanePHP](https://github.com/janephp/janephp) (Thanks, for a great project!)
That code was modified manually, nullables was added and a specific date format used for different fields.
General logic is still handled by [JanePHP runtime](https://github.com/janephp/janephp)
## Installation
```bash
composer install revotale/checkbox-ua
```## Usage
Example with [signing in cashier with pin code and licence key](https://api.checkbox.in.ua/api/docs#/Касир/sign_in_cashier_api_v1_cashier_signin_post).```php
setPinCode($pinCode);
$client->signInCashierApiV1CashierSigninPost()
```