PHPackages                             req-tencent/third-party - 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. req-tencent/third-party

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

req-tencent/third-party
=======================

微信开放平台，第三方平台应用

0.2.9(1y ago)030MITPHPPHP &gt;=7.2

Since Jul 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jaifiresong/third-party)[ Packagist](https://packagist.org/packages/req-tencent/third-party)[ RSS](/packages/req-tencent-third-party/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (16)Used By (0)

third-party
===========

[](#third-party)

第三方平台介绍 在得到公众号或小程序管理员授权后，基于该平台，第三方服务商可以为公众号代运营、小程序代注册、代开发等服务 参考：[https://developers.weixin.qq.com/doc/oplatform/Third-party\_Platforms/2.0/api/Before\_Develop/creat\_token.html](https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/creat_token.html)

开发步骤 核心：组装一个授权地址，公众号或小程序管理员打开授权地址,在完成了授权给第三方平台之后，第三方平台则可以获得authorizer\_access\_token进行调用相关api

Token生成说明 1、配置授权事件URL，用于接收component\_verify\_ticket 在第三方平台创建审核通过后，微信服务器会向其 ”授权事件接收URL” 每隔 10 分钟以 POST 的方式推送 component\_verify\_ticket

2、获得component\_verify\_ticket后，使用component\_verify\_ticket获取component\_access\_token（平台TOKEN）

3、获得component\_access\_token后，使用component\_access\_token调接口获取pre\_auth\_code

4、获得pre\_auth\_code后，使用pre\_auth\_code拼接授权地址，当公众号/小程序对第三方平台进行授权、取消授权、更新授权后，微信服务器会向第三方平台方的授权事件接收URL 以 POST 的方式推送相关通知。 授权成功后，会得到一个 authorization\_code

5、获得authorization\_code后，使用authorization\_code调接口获取authorizer\_access\_token和authorizer\_refresh\_token authorizer\_access\_token 就是最终想要获取的授权TOKEN，使用它就可以代替公众号或小程序调用相关接口 authorizer\_refresh\_token authorizer\_access\_token 有效期为 2 小时，过期后需要使用authorizer\_refresh\_token刷新authorizer\_access\_token

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance45

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90.3% 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 ~43 days

Recently: every ~148 days

Total

15

Last Release

426d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d917428dcfcb22fa46108b4bee96b7b2e83df194a8f7370943525f6b81dc6b1?d=identicon)[jaifire](/maintainers/jaifire)

---

Top Contributors

[![jaifiresong](https://avatars.githubusercontent.com/u/33593149?v=4)](https://github.com/jaifiresong "jaifiresong (28 commits)")[![lite-view](https://avatars.githubusercontent.com/u/23491013?v=4)](https://github.com/lite-view "lite-view (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/req-tencent-third-party/health.svg)

```
[![Health](https://phpackages.com/badges/req-tencent-third-party/health.svg)](https://phpackages.com/packages/req-tencent-third-party)
```

PHPackages © 2026

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