1. Go to this page and download the library: Download gavan4eg/cashalotapi library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gavan4eg / cashalotapi example snippets
$cashalot = new CashalotService();
var_dump($cashalot->transactionsRegistrarState());
$remove = true
$cashalot = new CashalotService();
var_dump($cashalot->cleanUp());
$cashalot = new CashalotService();
var_dump($cashalot->openShift());
// Формувати Z-Звіт коли закритя зміни true/false
$zrep = true;
$cashalot = new CashalotService();
var_dump($cashalot->closeShift($zrep));