PHPackages                             tb07/open-taobao - 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. tb07/open-taobao

ActiveLibrary[API Development](/categories/api)

tb07/open-taobao
================

淘宝开放平台sdk

1.1.9(3y ago)042PHPPHP ^7.1

Since Jan 15Pushed 3y agoCompare

[ Source](https://github.com/tb07/open-taobao)[ Packagist](https://packagist.org/packages/tb07/open-taobao)[ RSS](/packages/tb07-open-taobao/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (14)Used By (0)

open-taobao
===========

[](#open-taobao)

淘宝开放平台sdk (含淘宝客API)，支持 laravel。

- API 齐全
- 丰富合理的注释
- 完善的参数提示
- 支持 `composer` 安装
- 支持 `laravel/lumen` 框架

部分代码截图
------

[](#部分代码截图)

[![代码截图](code.png)](code.png)

安装 - install
------------

[](#安装---install)

```
$ composer require 96qbhy/open-taobao
```

使用 - usage
----------

[](#使用---usage)

```
require 'vendor/autoload.php';

$app = new Qbhy\OpenTaobao\OpenTaobao([
            'debug' => true,
            'app_key' => 'your app key',
            'app_secret' => 'your app secret'
]);

// 获取推荐商品
$app->tbk->itemRecommends('595866143271', 'title');

// 部分API没有封装成具体方法，你也可以自行调用 request 方法
$app->request('方法', ['参数'=> '值']);
```

测试 - tests
----------

[](#测试---tests)

1. 复制 phpunit.xml 配置文件 ```
    $ cp example.phpunit.xml phpunit.xml
    ```
2. 修改配置文件环境变量部分 ```

    ```
3. 执行测试用例 ```
    $ vendor/bin/phpunit
    ```

php吹水交流群请添加: 873213948

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~87 days

Recently: every ~128 days

Total

13

Last Release

1259d ago

Major Versions

0.1.0 → 1.0.02020-01-15

PHP version history (2 changes)0.1.0PHP ^7.2

1.1.8PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/bfef34ff4e277a69373fe1967006d8df05a68d704306b95a33c0ef477d6561d4?d=identicon)[tb07](/maintainers/tb07)

---

Top Contributors

[![qbhy](https://avatars.githubusercontent.com/u/24204533?v=4)](https://github.com/qbhy "qbhy (29 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tb07-open-taobao/health.svg)

```
[![Health](https://phpackages.com/badges/tb07-open-taobao/health.svg)](https://phpackages.com/packages/tb07-open-taobao)
```

###  Alternatives

[justmd5/pinduoduo-sdk

拼多多API SDK【拼多多开放平台】.

23514.1k1](/packages/justmd5-pinduoduo-sdk)

PHPackages © 2026

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