PHPackages                             quickwx/crypt - 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. quickwx/crypt

ActiveLibrary

quickwx/crypt
=============

wechat open platform Third party Platforms API SDK

v1.0.6(4y ago)146MITPHPPHP ^7.2.5 || ^8.0

Since Feb 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/quickwx/crypt)[ Packagist](https://packagist.org/packages/quickwx/crypt)[ RSS](/packages/quickwx-crypt/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (10)Used By (0)

```
use quickwx\wxTool;

$component_appid = ''; //第三方平台app_id
$component_secret = ''; //第三方平台的APPSECRET
$token = ''; //消息校验Token
$encodingAesKey = ''; //消息加解密Key

$wx = new wxTool($component_appid,$component_secret,$token,$encodingAesKey);

// 微信开放平台推送到第三方平台的消息

$msgSignature = ''; //消息签名
$timestamp = ''; //随机时间戳
$nonce = '';  //随机字符串
$postXml = ''; //报文

// 解密消息
$dec = $wx->decryptMsg($msgSignature,$timestamp,$nonce,$postXml,$msg);
if($dec == 0){
    echo $msg;
}

//获取令牌
$ret = $wx->component_token($component_verify_ticket);
echo $ret;

//快速创建小程序

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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

Total

7

Last Release

1719d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ec8399970cb3daaae4f0086205ff0cbe635ed449a28dd5f6c1834c946d9e8d9?d=identicon)[liu.lei](/maintainers/liu.lei)

---

Top Contributors

[![liulei-web](https://avatars.githubusercontent.com/u/8455194?v=4)](https://github.com/liulei-web "liulei-web (29 commits)")

### Embed Badge

![Health badge](/badges/quickwx-crypt/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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