PHPackages                             xuezhitech/tp5-wx-mini - 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. xuezhitech/tp5-wx-mini

ActiveLibrary[API Development](/categories/api)

xuezhitech/tp5-wx-mini
======================

微信小程序后台接口

v1.4(3y ago)0112Apache-2.0PHP

Since Jan 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jinxuezhi2018/tp5-wx-mini)[ Packagist](https://packagist.org/packages/xuezhitech/tp5-wx-mini)[ RSS](/packages/xuezhitech-tp5-wx-mini/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (1)Versions (7)Used By (0)

tp5-wx-mini
-----------

[](#tp5-wx-mini)

thinkphp5.1 微信小程序后台接口

安装
--

[](#安装)

composer require xuezhitech/tp5-wx-mini

使用
--

[](#使用)

声明namespace
===========

[](#声明namespace)

use xuezhitech\\wx\\WeixinMini;

new新对象
======

[](#new新对象)

$this-&gt;wxmini = new WeixinMini(\['appid'=&gt;$mini\_appid,'secret'=&gt;$mini\_secret);

获得openid
--------

[](#获得openid)

$this-&gt;wxmini-&gt;authCode2Session($code);

获得用户手机号
-------

[](#获得用户手机号)

$this-&gt;wxmini-&gt;getUserPhone($code);

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Recently: every ~226 days

Total

6

Last Release

1397d ago

### Community

Maintainers

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

---

Top Contributors

[![jinxuezhi2018](https://avatars.githubusercontent.com/u/44741793?v=4)](https://github.com/jinxuezhi2018 "jinxuezhi2018 (1 commits)")

### Embed Badge

![Health badge](/badges/xuezhitech-tp5-wx-mini/health.svg)

```
[![Health](https://phpackages.com/badges/xuezhitech-tp5-wx-mini/health.svg)](https://phpackages.com/packages/xuezhitech-tp5-wx-mini)
```

###  Alternatives

[naixiaoxin/think-wechat

EasyWechat For Thnkphp5.1+

27316.1k1](/packages/naixiaoxin-think-wechat)[weiwei/api-doc

The ThinkPHP6 Api Doc Package

10710.2k](/packages/weiwei-api-doc)

PHPackages © 2026

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