PHP code example of brandshopru / modulpos-php-api-client
1. Go to this page and download the library: Download brandshopru/modulpos-php-api-client 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/ */
brandshopru / modulpos-php-api-client example snippets
$login = '[email protected]'; // Логин от аккаунта Модуль.Кассы
$password = 'password'; // Пароль от аккаунта Модуль.Кассы
$retailPointUuid = 'uuid'; // Идентификатор розничной точки
$testMode = true; // Тестовый режим
$associate = new \Brandshopru\ModulposApiClient\Associate($login, $password, $retailPointUuid, $testMode);
$result = $associate->init();