mms / mms-api-client
A modular PHP library for interacting with the MMS API using Symfony HttpClient.
dev-master
2025-02-24 08:51 UTC
Requires
- symfony/http-client: ^6.0
Requires (Dev)
- phpunit/phpunit: ^11.5
This package is auto-updated.
Last update: 2025-07-23 13:18:54 UTC
README
MmsApiClient is a modular PHP library for interacting with the MMS API using Symfony HttpClient. It provides an easy way to interact with the MMS service, including support for ticket management and other services.
Installation
You can install the library via Composer:
composer require mms/mms-api-client
Usage
Initialize MmsApiClient To use MmsApiClient, initialize it by providing the base API URL and an authorization bearer token. Here's an example:
use MmsApiClient\MmsApiClient; $apiUrl = 'https://demoapi.mms-portal.eu/index.php/MmsApi/v1'; // MMS API base URL $bearerToken = 'your-bearer-token'; // Replace with your actual bearer token $apiClient = MmsApiClient::create($apiUrl, $bearerToken);