movingimage / vmpro-api-client
API client library for the VMPro public API
4.9.2
2025-02-10 15:17 UTC
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- doctrine/collections: ^1.6
- doctrine/common: ^3.1 || ^2.13
- guzzlehttp/guzzle: ^6.5 || ^7.0
- jms/serializer: ^3.12
- monolog/monolog: ^1.0 || ^2.0
- movingimage/video-manager-meta: ^3.2
- namshi/jose: ^6.0 || ^7.0
- psr/log: ^1.0 || ^3.0.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.9
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2026-06-10 18:05:48 UTC
README
Installation
To install the API client, run the following command:
composer require movingimage/vmpro-api-client
Usage
To use the VMPro API Client, you can use the factory like this:
<?php use MovingImage\Client\VMPro\Entity\ApiCredentials; use MovingImage\Client\VMPro\ApiClientFactory; require_once('./vendor/autoload.php'); $baseUri = 'https://<api uri>'; $credentials = new ApiCredentials('<username>', '<password>'); $factory = new ApiClientFactory(); $apiClient = $factory->createSimple($baseUri, $credentials); echo $apiClient->getChannels(5, 'en')->getName() . PHP_EOL;
Maintainers
- Movingimage - developer@movingimage.com
If you have questions, suggestions or problems, feel free to get in touch with the maintainers by e-mail.
Contributing
If you want to expand the functionality of the API clients, or fix a bug, feel free to fork and do a pull request back onto the 'master' branch. Make sure the tests pass by running ./vendor/bin/phpunit.