PHPackages                             leslie/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. leslie/wx\_token

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

leslie/wx\_token
================

颁发微信token"

v1.0(7y ago)2141[1 PRs](https://github.com/Leslie1sMe/wechat_share_token/pulls)MITPHPPHP &gt;5.6

Since Jan 20Pushed 7y agoCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

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

[](#wechat_share_token)

### 微信分享token

[](#微信分享token)

使用方法:

```

composer require leslie/wx_token

use Leslie\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 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

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

Unknown

Total

1

Last Release

2719d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20894457?v=4)[Leslie](/maintainers/Leslie1sMe)[@Leslie1sMe](https://github.com/Leslie1sMe)

### Embed Badge

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

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

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

PHPackages © 2026

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