craftt/xorder-sdk 问题修复 & 功能扩展

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

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

craftt/xorder-sdk

最新稳定版本:v1.1.3

Composer 安装命令:

composer require craftt/xorder-sdk

包简介

PHP SDK for Container World's xOrder EDI platform.

README 文档

README

Build Status Quality Score Coverage Status Latest Version Software License

The xOrder PHP SDK makes it easy to integrate your order and inventory sytsems with ContainerWorld's xOrder EDI service. It leverages the powerful Guzzle library to make http requests.

Usage

Examples of how the xOrder PHP SDK can be used are located in the examples directory.

$xorder = new XOrder\XOrder('xorder.xml', true);
$credentials = new XOrder\Credentials('username', 'password', 'account');

$client = new XOrder\Client;
$client->login($credentials);

$response = $client->send($xorder);

Order Validation

The xOrder PHP SDK can also be used to validate your order xml against the xOrder schema declaration.

$xorder = new XOrder\XOrder('xorder.xml', true);

$validator = new XOrder\XOrderValidator($xorder);

$isValid = $validator->validate();

Testing

The xOrder PHP SDK has a PHPUnit test suite. To run the tests, run the following command from the project folder:

$ phpunit

Contributing

Contributions are welcome and will be fully credited. Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email hello@craftt.com instead of using the issue tracker.

License

Apache 2.0. Please see LICENSE for more information.

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2015-07-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固