wickedreports/php-sdk 问题修复 & 功能扩展

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

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

wickedreports/php-sdk

最新稳定版本:1.7.0

Composer 安装命令:

composer require wickedreports/php-sdk

包简介

PHP SDK for WickedReports

README 文档

README

Documentation

You can find current API documentation in this doc.

Install

Using the composer CLI:

composer require wickedreports/php-sdk 

Or manually add it to your composer.json:

{ "require": { "wickedreports/php-sdk": "1.5.*" } }

Authentication

To use API SDK, you should have your own API key.

$api = new \WickedReports\WickedReports($yourApiKey); $api->addOrders($orders);

Examples

You can see list of usage examples in examples/example.php file.

Dates

DateTime objects are used instead of a DateTime string where the date(time) is a parameter in the method.

$datetime = new \DateTime('now', new \DateTimeZone('America/New_York'));

As other way, you can use simple date-time string with timezone property set.

[ 'CreateDate' => '2017-08-01 00:05:01', 'timezone' => 'EST' ]

You can see list of supported timezones on PHP.net website.

You have to use one of these ways to provide date time, otherwise you will get error or wrong date saved into our DB.

Provided date-time string will be automatically converted to UTC timezone, as it requires our API documentation.

Testing

$ phpunit

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 51.07k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固