$ composer require wored/wangdiantong-sdk -vvv
<?php
use \Wored\WangDianTongSdk\WangDianTongSdk;
$config = [
"log" => [
"file" => "../storage/logs/Wangdiantong.log",
"name" => "Wangdiantong",
"level" => "debug",
"permission" => 777
],
"sid" => "******",
"debug" => false,
"appkey" => "***************",
"rootUrl" => "https://sandbox.wangdian.cn",
"appsecret" => "************"
];
//旺店通SDK
$wdt = new WangDianTongSdk($config);
//获取店铺
$ret = $wdt->request('shop');
MIT