wndr/logic4
最新稳定版本:1.4.2
Composer 安装命令:
composer require wndr/logic4
包简介
Logic4 PHP-SDK
README 文档
README
This package is slim wrapper around the Logic4 API. It's an opinionated integration that uses Saloon as a client/wrapper and handles general tasks like authentication.
How to use
// Set configuration $connector = new \Wndr\Logic4\Connectors\Logic4Connector(); $connector->setAdministrationId('xx') ->setCompanyKey('xx') ->setPrivateKey('xx') ->setPublicKey('xx') ->setUsername('xx') ->setPassword('xx') ->authenticate($connector->getAccessToken()) // Create request $request = new \Wndr\Logic4\Requests\Orders\GetOrders([ 'Id' => 'xx', 'TakeRecords' => 1 ]); // Get results $response = $connector->send($request)->json();
Install
composer require wndr/logic4
统计信息
- 总下载量: 766
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-17