PHPackages                             raysoft/wxauth-server - 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. raysoft/wxauth-server

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

raysoft/wxauth-server
=====================

通过认证的公众号实现网页扫描登陆(服务端)

1.0.3(9y ago)09MITPHP

Since Mar 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jesonray/wxauth-server)[ Packagist](https://packagist.org/packages/raysoft/wxauth-server)[ RSS](/packages/raysoft-wxauth-server/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

wxauth-server
=============

[](#wxauth-server)

通过认证的公众号实现网页扫描登陆(服务端)

此为Yii2模块, 需要运行在Yii2框架下

使用场景
----

[](#使用场景)

1. 有认证过的微信公众号
2. 没有开发者账号(正常使用微信扫描登陆要申请开发者账号, 300认证费用, 每个网站都要提交资料, 审核, 很麻烦)
3. WEB端希望通过扫描登陆

安装使用
----

[](#安装使用)

1、 通过composer安装: `composer require raysoft/wxauth-server`

2、 Yii2项目根目录运行脚本创建数据表: `php yii migrate --migrationPath=vendor/raysoft/wxauth-server/migrations`

3、 配置模块:

```
'modules' => [
    ...
    'wxauth' => [ // 配置模块名, 客户端连接服务端需要用到这个
        'class' => 'raysoft\WxAuthServer\Module'
    ]
    ...
  ]

```

4、 在wxlogin\_app表中添加一条记录, 对应一个客户端, 以下为必填项:

```
name: 客户端名, 显示在用户授权界面
key: key名, 客户端以此确定身份
secret: 密钥, 用于签名

```

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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

Total

4

Last Release

3433d ago

### Community

Maintainers

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

---

Top Contributors

[![rayeesoft](https://avatars.githubusercontent.com/u/4216480?v=4)](https://github.com/rayeesoft "rayeesoft (10 commits)")

### Embed Badge

![Health badge](/badges/raysoft-wxauth-server/health.svg)

```
[![Health](https://phpackages.com/badges/raysoft-wxauth-server/health.svg)](https://phpackages.com/packages/raysoft-wxauth-server)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.7M3.3k](/packages/craftcms-cms)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13725.8k65](/packages/skeeks-cms)

PHPackages © 2026

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