PHPackages                             yudianguo/flarum-ext-auth-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. yudianguo/flarum-ext-auth-wechat

ActiveFlarum-extension[Authentication &amp; Authorization](/categories/authentication)

yudianguo/flarum-ext-auth-wechat
================================

Allow users to log in with Wechat.

1.0.3(8y ago)0201MITPHP

Since Jun 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/yudianguo/flarum-ext-auth-wechat)[ Packagist](https://packagist.org/packages/yudianguo/flarum-ext-auth-wechat)[ RSS](/packages/yudianguo-flarum-ext-auth-wechat/feed)WikiDiscussions master Synced yesterday

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

flarum-ext-auth-wechat
======================

[](#flarum-ext-auth-wechat)

This plugin is for Flarum using Wechat third-party login.

[![image http://forum.sixbays.com/assets/images/2-NZcok3IOlGxzRCxM.png](https://camo.githubusercontent.com/d91019676eaeb40a22bbc7974a430c80d2ffe10991a8416fafc3c9a3ee47263d/687474703a2f2f666f72756d2e736978626179732e636f6d2f6173736574732f696d616765732f322d4e5a636f6b33494f6c47787a5243784d2e706e67)](https://camo.githubusercontent.com/d91019676eaeb40a22bbc7974a430c80d2ffe10991a8416fafc3c9a3ee47263d/687474703a2f2f666f72756d2e736978626179732e636f6d2f6173736574732f696d616765732f322d4e5a636f6b33494f6c47787a5243784d2e706e67)

[![image http://forum.sixbays.com/assets/images/2-LdkX1knD3CjnM833.png](https://camo.githubusercontent.com/0e7419aa79c5975b1c9f881c043029bb2e51ec91e6dccb0c44f1f9fbf7d501a2/687474703a2f2f666f72756d2e736978626179732e636f6d2f6173736574732f696d616765732f322d4c646b58316b6e4433436a6e4d3833332e706e67)](https://camo.githubusercontent.com/0e7419aa79c5975b1c9f881c043029bb2e51ec91e6dccb0c44f1f9fbf7d501a2/687474703a2f2f666f72756d2e736978626179732e636f6d2f6173736574732f696d616765732f322d4c646b58316b6e4433436a6e4d3833332e706e67)

[![image http://forum.sixbays.com/assets/images/2-HEaASxLbbmUSN8sK.png](https://camo.githubusercontent.com/27c0a6042e7d0751a121c6cce2a80e95f2d77cba1453c74bc2d09f57255b6974/687474703a2f2f666f72756d2e736978626179732e636f6d2f6173736574732f696d616765732f322d4845614153784c62626d55534e38734b2e706e67)](https://camo.githubusercontent.com/27c0a6042e7d0751a121c6cce2a80e95f2d77cba1453c74bc2d09f57255b6974/687474703a2f2f666f72756d2e736978626179732e636f6d2f6173736574732f696d616765732f322d4845614153784c62626d55534e38734b2e706e67)

Setup
=====

[](#setup)

1. install extension:

> composer require yudianguo/flarum-ext-auth-wechat

update extension:

> composer update

2. config: You need to have open platform app id and secrets of wechat () fill app id and secrets and callback url callback url is your domian with "/auth/wechat" eg. [www.yourdomain.com/auth/wechat](http://www.yourdomain.com/auth/wechat)

your authrizon callback domian in  can be [www.yourdomain.com](http://www.yourdomain.com)

3. fill wechat callback url, it will get back this url while login success

Notice
======

[](#notice)

As wechat has not provide email, here using a random string as email, Also if your wechant nickname not using English, will replace to random string you can change it in the pop window of first time login, otherwise after login you can go to profile to change it or email.

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2017 Stanley Song

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 91.8% 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 ~171 days

Total

3

Last Release

2909d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9953ad98238cf238a65439beea41098ecf1cc59ca7ce9b7031f7a9fbbdcf179f?d=identicon)[yudianguo](/maintainers/yudianguo)

---

Top Contributors

[![sxhuan](https://avatars.githubusercontent.com/u/16263180?v=4)](https://github.com/sxhuan "sxhuan (45 commits)")[![yudianguo](https://avatars.githubusercontent.com/u/7200737?v=4)](https://github.com/yudianguo "yudianguo (3 commits)")[![zhoujianwei](https://avatars.githubusercontent.com/u/4134294?v=4)](https://github.com/zhoujianwei "zhoujianwei (1 commits)")

---

Tags

Authentication

### Embed Badge

![Health badge](/badges/yudianguo-flarum-ext-auth-wechat/health.svg)

```
[![Health](https://phpackages.com/badges/yudianguo-flarum-ext-auth-wechat/health.svg)](https://phpackages.com/packages/yudianguo-flarum-ext-auth-wechat)
```

###  Alternatives

[maicol07/flarum-ext-sso

SSO for Flarum

468.3k](/packages/maicol07-flarum-ext-sso)[tituspijean/flarum-ext-auth-ldap

Allow users to log in through LDAP.

216.2k](/packages/tituspijean-flarum-ext-auth-ldap)[nomiscz/flarum-ext-auth-wechat

Allow users to log in with WeChat

152.5k](/packages/nomiscz-flarum-ext-auth-wechat)[spookygames/flarum-ext-auth-keycloak

Allow users to sign in/up/out with Keycloak.

171.5k](/packages/spookygames-flarum-ext-auth-keycloak)[hehongyuanlove/flarum-auth-qq

Allow users to log in with QQ

111.0k](/packages/hehongyuanlove-flarum-auth-qq)

PHPackages © 2026

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