PHPackages                             opensdk/qianzhu - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. opensdk/qianzhu

ActiveLibaray[Utility &amp; Helpers](/categories/utility)

opensdk/qianzhu
===============

千猪开放平台SDK

v1.0.0(6y ago)06MITPHPPHP &gt;=7.0.0

Since Apr 28Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (3)Used By (0)

opensdk-qianzhu
===============

[](#opensdk-qianzhu)

### 介绍

[](#介绍)

本类库是对千猪开放平台API的封装

#### 使用示例

[](#使用示例)

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

use OpenSDK\QianZhu\Client;
use OpenSDK\QianZhu\Requests\KfcOrdersPagedQueryGetRequest;

$c = new Client();
$c->appKey = $this->appKey;
$c->appSecret = $this->appSecret;
$c->gatewayUrl = $this->url;
$req = new KfcOrdersPagedQueryGetRequest();

$req->setPageIndex(1);
$req->setPageSize(10);
$req->setUpdateTimeBeginTime("2020-04-20 00:00:00");
$req->setUpdateTimeEndTime("2020-04-27 00:00:00");

$c->execute($req);
$response = $c->result();
if(isset($response['status']) && $response['status'] == '0000'){

}
var_dump($response);exit;
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

Unknown

Total

1

Last Release

2209d 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 (3 commits)")[![yangq210](https://avatars.githubusercontent.com/u/58154486?v=4)](https://github.com/yangq210 "yangq210 (1 commits)")

---

Tags

sdk

### Embed Badge

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

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

###  Alternatives

[aws/aws-crt-php

AWS Common Runtime for PHP

416300.1M4](/packages/aws-aws-crt-php)[zumba/amplitude-php

PHP SDK for Amplitude

409.5M5](/packages/zumba-amplitude-php)[ennnnny/tbk

简约优雅的淘宝客SDK

29016.1k1](/packages/ennnnny-tbk)[anilcancakir/laravel-ai-sdk-skills

A skill system for Laravel AI SDK agents. Define reusable AI capabilities with SKILL.md files.

151.1k](/packages/anilcancakir-laravel-ai-sdk-skills)

PHPackages © 2026

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