smartoysters/farmopsx-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

smartoysters/farmopsx-api

Composer 安装命令:

composer require smartoysters/farmopsx-api

包简介

FarmOpsX API client for PHP

README 文档

README

Build Status

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-10-20