PHPackages                             huaiguoguo/yii2-taobao-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. huaiguoguo/yii2-taobao-sdk

ActiveYii2-extension[API Development](/categories/api)

huaiguoguo/yii2-taobao-sdk
==========================

taobao-sdk-PHP-auto\_1457166217151-20170221

1.02(9y ago)1392MITPHPPHP &gt;= 5.4.0

Since Feb 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/huaiguoguo/yii2-taobao-sdk)[ Packagist](https://packagist.org/packages/huaiguoguo/yii2-taobao-sdk)[ RSS](/packages/huaiguoguo-yii2-taobao-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

\####yii2-taobao-sdk

\####taobao-sdk-PHP-auto\_1457166217151-20170221

\####安装方法 composer require huaiguoguo/yii2-taobao-sdk:dev-master

\####简单的使用方法

```
use yii\taobao\top\request\TbkItemGetRequest;
use yii\taobao\top\TopClient;

$client            = new TopClient();
$appkey    = Yii::$app->params['taobao']['phpdx']['appkey'];
$appsecret = Yii::$app->params['taobao']['phpdx']['appsecret'];
$client->appkey    = $appkey;
$client->secretKey = $appsecret;
$client->format    = 'json';
$req = new TbkItemGetRequest;
$req->setFields("num_iid,title,pict_url,small_images,reserve_price,zk_final_price,user_type,provcity,item_url,seller_id,volume,nick");
$req->setQ("女装");
$req->setCat("16,18");
$resp = $client->execute($req);
$str =  json_decode( json_encode( $resp),true);
print_r(  json_encode($str) );

```

\####更多使用方法请参考 [http://open.taobao.com/docs/api\_list.htm](http://open.taobao.com/docs/api_list.htm) 相关文档

\####Yii2更多学习请加群: [70324424](https://jq.qq.com/?_wv=1027&k=45gpuJu)

\####Yii2社区:

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity60

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

3

Last Release

3407d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1888094?v=4)[huaiguoguo](/maintainers/huaiguoguo)[@huaiguoguo](https://github.com/huaiguoguo)

---

Tags

apisdktoptaobao

### Embed Badge

![Health badge](/badges/huaiguoguo-yii2-taobao-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/huaiguoguo-yii2-taobao-sdk/health.svg)](https://phpackages.com/packages/huaiguoguo-yii2-taobao-sdk)
```

###  Alternatives

[orzcc/taobao-top-client

Taobao top client(SDK) for laravel

11026.1k](/packages/orzcc-taobao-top-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
