1. Go to this page and download the library: Download mike-roetgers/zanox-erp-api 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/ */
mike-roetgers / zanox-erp-api example snippets
$userService = new UserService('username', 'password');
$userService->login();
// You can reuse the ticket, so you don't have to login for every request. Store it in a DB or sth ...
$someStorage->storeTicket($userService->getTicket());
$exportService = new ExportService($userService);
$filter = new PpsFilter('2014-05-01T00:00:00+02:00', '2014-05-02T23:59:59+02:00');
$result = $exportService->getPps($programId, $filter);