yihaitao / kuaimai
快麦SDK
1.0.2
2024-11-27 04:36 UTC
Requires
- php: ^7.0
- ext-iconv: *
- ext-json: *
- hanson/foundation-sdk: ^5.0
README
安装
$ composer require yihaitao/kuaimai -vvv
使用
<?php use YiHaiTao\KuaiMai\KuaiMai; $config = [ 'app_key' => 'your-key', 'app_secret' => 'your-secret', 'access_token' => 'your-access-token', 'base_url' => 'https://gw.superboss.cc/router', ]; // 实例化快麦sdk $km = new KuaiMai($config); // 使用如下 $km->request('method', $params); // 例子 $result = $km->request('erp.trade.create.new', $params); print_r($result);
License
MIT