PHPackages                             opensdk/vip - 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. opensdk/vip

ActiveLibaray[API Development](/categories/api)

opensdk/vip
===========

唯品会API SDK

v1.2.0(6y ago)4871MITPHPPHP &gt;=7.0.0

Since Oct 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/beJuvenile/opensdk-vip)[ Packagist](https://packagist.org/packages/opensdk/vip)[ RSS](/packages/opensdk-vip/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

opensdk-vip
===========

[](#opensdk-vip)

#### 介绍

[](#介绍)

本类库是对唯品会开放平台API的封装
接口文档请参见 [唯品会开放平台](https://vop.vip.com/)

#### 使用示例

[](#使用示例)

- 接口调用示例

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

use OpenSDK\Vip\Client;
use OpenSDK\Vip\Requests\Union\GenPidRequest;

$c = new Client();
$c->appKey = 'You are appKey';
$c->appSecret = 'You are appSecret';
$req = new GenPidRequest();
$req->setPidNameList(['test01','test02']);
$c->setRequest($req);
$result = $c->execute();

var_dump($result);
```

- 授权示例

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

use OpenSDK\Vip\OauthClient;

$c = new OauthClient();
$c->appKey = 'You are appKey';
$c->appSecret = 'You are appSecret';
// 获取网页授权链接
// $result = $c->buildWebAuthorizeUri();
// 获取APP授权链接
$result = $c->buildAppAuthorizeUri();
// 使用code换取access token
$result = $c->getAccessToken('6fd98f88ab5243d6b8f7b2779488c3aa');

var_dump($result);
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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

Total

4

Last Release

2370d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2632156?v=4)[Eric Zhang](/maintainers/zhange)[@zhange](https://github.com/zhange)

---

Top Contributors

[![beJuvenile](https://avatars.githubusercontent.com/u/41072301?v=4)](https://github.com/beJuvenile "beJuvenile (5 commits)")

### Embed Badge

![Health badge](/badges/opensdk-vip/health.svg)

```
[![Health](https://phpackages.com/badges/opensdk-vip/health.svg)](https://phpackages.com/packages/opensdk-vip)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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