xibosignage/platform-api-php
最新稳定版本:3.0
Composer 安装命令:
composer require xibosignage/platform-api-php
包简介
Xibo Cloud Platform and Licensing - PHP Library
README 文档
README
© Xibo Signage Ltd 2020
This is a PHP library for the Xibo Signage Xibo Platform API.
The API is for Xibo Signage Channel Partners.
Documentation
Please see the /docs folder for information on how to use this library.
Further usage examples can be found in the /tests folder.
Requirements
PHP 5.4 and later
Composer
You can install the library via Composer. Add this to your composer.json:
{
"require": {
"xibosignage/platform-api-php": "3.*"
}
}
Then install with:
composer install
Token Storage
An access_token lives as long as the script using the library and will automatically renew on expiry.
Integration Tests
This library has some basic integration tests, if you want to run these you are welcome to do so. Please be aware that transactions will be executed in your Test portal account.
Create an env file containing your clientId/secret.
XIBO_PLATFORM_CLIENT_ID= XIBO_PLATFORM_CLIENT_SECRET=
Build a Docker image and tag it
docker build -t phpunit-test .
Run the tests
docker run --env-file config.env -it --rm --name phpunit phpunit-test
统计信息
- 总下载量: 1.49k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-08