PHPackages                             octopusz/wx\_token - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. octopusz/wx\_token

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

octopusz/wx\_token
==================

颁发微信token"

v1.1(5y ago)210MITPHPPHP &gt;5.6

Since Apr 25Pushed 5y agoCompare

[ Source](https://github.com/ocotpusz/wechat_token)[ Packagist](https://packagist.org/packages/octopusz/wx_token)[ RSS](/packages/octopusz-wx-token/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (3)Used By (0)

wechat\_share\_token
====================

[](#wechat_share_token)

### 微信分享token

[](#微信分享token)

使用方法:

```

composer require Octopusz/wx_token

use Octopusz\WxToken\GetWxToken;
require ('vendor/autoload.php');

$appId = "xxxxxxxxxx";
$secret = "xxxxxxxxxxxxxxxxx";
$url = "xxxxxxxxxxxxxxxxxxxxxxxxx";
$timestamp = time();
$nonceStr = GetWxToken::getAccessToken($appId,$secret);
$access = $nonceStr->access_token;
$getTicket = GetWxToken::getTicket($access);
$ticket = $getTicket->ticket;
$res =  GetWxToken::getSignature($url,$ticket);
var_dump($res);

```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

2

Last Release

1973d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ac135e47d0894f43b6b59b20b81875d12cd3458c11e16a2110d9a73af811ea5?d=identicon)[octopusz](/maintainers/octopusz)

### Embed Badge

![Health badge](/badges/octopusz-wx-token/health.svg)

```
[![Health](https://phpackages.com/badges/octopusz-wx-token/health.svg)](https://phpackages.com/packages/octopusz-wx-token)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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