mplus-software / mplus-api-client-php
PHP client for the Mplus Q-line API.
Installs: 50 238
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 6
Forks: 9
Open Issues: 6
pkg:composer/mplus-software/mplus-api-client-php
Requires
- php: >=5.3.0
 - ext-json: *
 - lib-curl: *
 
- dev-master
 - v1.34.7
 - v1.34.6
 - v1.34.5
 - v1.34.4
 - v1.34.3
 - v1.34.2
 - v1.34.1
 - v1.34.0
 - v1.33.0
 - v1.32.0
 - v1.31.5
 - v1.31.4
 - v1.31.3
 - v1.31.2
 - v1.31.1
 - v1.31.0
 - v1.30.4
 - v1.30.3
 - v1.30.2
 - v1.30.1
 - v1.30.0
 - v1.29.2
 - v1.29.1
 - v1.29.0
 - v1.28.9
 - v1.28.8
 - v1.28.7
 - v1.28.6
 - v1.28.5
 - v1.28.4
 - v1.28.3
 - v1.28.2
 - v1.28.1
 - v1.28.0
 - v1.27.9
 - v1.27.8
 - v1.27.7
 - v1.27.6
 - v1.27.5
 - v1.27.4
 - v1.27.3
 - v1.27.2
 - v1.27.1
 - v1.27.0
 - v1.26.1
 - v1.26.0
 - v1.25.1
 - v1.25.0
 - v1.24.0
 - v1.23.0
 - v1.22.0
 - v1.21.0
 - v1.20.0
 - v1.19.0
 - v1.18.2
 - v1.18.1
 - v1.10.1
 - v1.10.0
 - v1.9.1
 - v1.9.0
 - v1.8.3
 - v1.8.2
 - v1.8.1
 - v1.8.0
 - v1.7.0
 - v1.5.0
 - v1.4.0
 - v1.3.2
 - v1.3.0
 - v1.2.0
 - v1.1.3
 - v1.1.2
 - v1.1.1
 - v1.1.0
 - v1.0.3
 - v1.0.2
 - v1.0.1
 - v1.0.0
 - v0.9.12
 - v0.9.11
 - v0.9.10
 - v0.9.9
 - v0.9.8
 - v0.9.7
 - v0.9.6
 
This package is auto-updated.
Last update: 2025-10-12 19:14:25 UTC
README
PHP client for the Mplus Q-line API.
Install through Composer:
composer require mplus-software/mplus-api-client-php
Example of usage:
The following script will connect to the API with your credentials and try to request the currently running version of the API.
<?php require_once('Mplusqapiclient.php'); $mplusqapiclient = new Mplusqapiclient(); $mplusqapiclient->setApiServer($your_api_url); $mplusqapiclient->setApiPort($your_api_port); $mplusqapiclient->setApiFingerprint($certificate_fingerprint); $mplusqapiclient->setApiIdent($your_api_ident); $mplusqapiclient->setApiSecret($your_api_secret); try { $mplusqapiclient->initClient(); } catch (MplusQAPIException $e) { exit($e->getMessage()); } try { $api_version = $mplusqapiclient->getApiVersion(); echo sprintf('Current API version: %d.%d.%d', $api_version['majorNumber'], $api_version['minorNumber'], $api_version['revisionNumber']); } catch (MplusQAPIException $e) { exit($e->getMessage()); }
Visit the Mplus Developers website for more information.