# topSdk **Repository Path**: ct-git/top-sdk ## Basic Information - **Project Name**: topSdk - **Description**: No description available - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-15 - **Last Updated**: 2021-03-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # topSdk #### 介绍 对淘宝开放平台SDK进行改动, 方便使用命名空间调用。 ### 版本 Version: top-sdk-php-20180326 #### 使用 ```php /** * SDK工作目录 * 存放日志,TOP缓存数据 */ if (!defined("TOP_SDK_WORK_DIR")) { define("TOP_SDK_WORK_DIR", storage_path('/top/')); } $c = new TopClient; $c->appkey = '12497914'; $c->secretKey = '4b0f28396e072d67fae169684613bcd1'; $req = new HttpdnsGetRequest; $req->putOtherTextParam("name","test"); $req->putOtherTextParam("value",0); var_dump($c->execute($req)); ```