1. Go to this page and download the library: Download spoje.net/flexipeehp 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/ */
spoje.net / flexipeehp example snippets
/*
* URL Flexibee API
*/
define('FLEXIBEE_URL', 'https://flexibee-dev.spoje.net:5434');
/*
* Uživatel FlexiBee API
*/
define('FLEXIBEE_LOGIN', 'apiuser');
/*
* Heslo FlexiBee API
*/
define('FLEXIBEE_PASSWORD', 'apipass');
/*
* Společnost v FlexiBee
*/
define('FLEXIBEE_COMPANY', 'test_s_r_o_');
/*
* Nebo pokud nechceme používat jméno a heslo
*/
define('FLEXIBEE_AUTHSESSID', '6QuifebMits'); //Volitelné
/*
* Pomalý server, velká databáze a přes modem k tomu
*/
define('FLEXIBEE_TIMEOUT', 60); //Volitelné