lyracom/rest-php-sdk
最新稳定版本:4.0.4
Composer 安装命令:
composer require lyracom/rest-php-sdk
包简介
Lyra REST API PHP SDK
README 文档
README
Lyra Network REST API SDK.
Requirements
PHP 7.2 and later.
Installation
Lyra Network REST api SDK is available via Composer/Packagist. Just add this line to your composer.json file:
"lyracom/rest-php-sdk": "4.0.*"
or
composer require lyracom/rest-php-sdk:4.0.*
To use the SDK, use Composer's autoload:
require_once('vendor/autoload.php');
Manual Installation
If you do not want to use Composer, you can download the latest release from github.
To use the SDK, include the autoload.php file:
require_once('/path/to/php-sdk/autoload.php');
SDK Usage
A simple integration example is available here
You can also take a look to our github examples repository: https://github.com/lyra/rest-php-examples
Run tests
start docker using docker compose:
docker-compose up -d
Install deps
docker exec -ti lyra-php-api-sdk composer install
and run the test suite with:
docker exec -ti lyra-php-api-sdk ./vendor/bin/phpunit src/
License
This project is licensed under MIT License
统计信息
- 总下载量: 561.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-24