PHPackages                             dasangshu/wechat - 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. dasangshu/wechat

ActiveLibrary

dasangshu/wechat
================

00PHP

Since Sep 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/dasangshu/wechat)[ Packagist](https://packagist.org/packages/dasangshu/wechat)[ RSS](/packages/dasangshu-wechat/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

微信
==

[](#微信)

##### 1.导入代码，使用composer

[](#1导入代码使用composer)

```
composer required xanyext/wechat:dev-master
```

##### 2.开始使用

[](#2开始使用)

```
require 'vender/autoload.php';
$wechat = new \xanyext\wechat\Wechat([
    'appId' => '',
    'appSecret' => '',
    'mchId' => '',
    'apiKey' => '',
    'certPem' => '',
    'keyPem' => '',
    'cachePath' => '',
]);
$wechat->getAccessToken();
```# wechat
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/19e92fa454aa019e2b1b1a34b6f92a19118e611caf1ff6218f43a4e9727fc8e2?d=identicon)[dasangshu](/maintainers/dasangshu)

---

Top Contributors

[![dasangshu](https://avatars.githubusercontent.com/u/1331143?v=4)](https://github.com/dasangshu "dasangshu (3 commits)")

### Embed Badge

![Health badge](/badges/dasangshu-wechat/health.svg)

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

PHPackages © 2026

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