smartoysters/farmopsx-api
Composer 安装命令:
composer require smartoysters/farmopsx-api
包简介
FarmOpsX API client for PHP
关键字:
README 文档
README
This package provides a complete framework agnostic FarmOpsX API client library for PHP.
Feel free to drop me a message at james.rickard@smartoysters.com or tweet me at @frodosghost.
Documentation
No documentation, just yet.
Installation
You can install the package via composer require command:
composer require smartoysters/farmopsx-api
Or simply add it to your composer.json dependences and run composer update:
"require": { "smartoysters/farmopsx-api": "^1.0" }
Usage
$token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx'; $farmopsx = new \SmartOysters\FarmOpsX\FarmOpsX($token);
Guzzle Client Options
The options value in the constructor allows configuration for the Guzzle Client to set any number of default request options.
$options = [ 'timeout' => 0, 'allow_redirects' => false, 'proxy' => '192.168.16.1:10' ]; $farmopsx = new \SmartOysters\FarmOpsX\FarmOpsX($token, $uri, $options);
统计信息
- 总下载量: 6.39k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-20