mis-sdks / php-token-sdk
PHP SDK for MIS Token Management System
dev-main
2025-08-04 04:08 UTC
Requires
- guzzlehttp/guzzle: ^7.0
This package is auto-updated.
Last update: 2025-08-04 04:08:58 UTC
README
This SDK allows you to interact with the Token Management System API.
Installation
composer require yourname/token-sdk
Usage
use TokenSDK\TokenClient; $client = new TokenClient('https://your-domain.com', 'your-api-key'); // Issue a token $response = $client->issueToken([ 'location_id' => 1, 'category_id' => 2, ]); print_r($response);
Available Methods
- issueToken(array $data)
- callNextToken(array $data)
- callTokenById($tokenId, array $data)
- skipToken($tokenId)
- completeToken($tokenId)
- getDisplayData($locationId = null)