Skip to content
Tinymeng微梦 edited this page May 15, 2025 · 21 revisions

tinymeng/oauth

Scrutinizer Code Quality Build Status Latest Stable Version Total Downloads Latest Unstable Version License

After developing multiple QQ and WeChat logins, it is natural to develop an aversion. Inertia has returned and I want to search for relevant wheels online, but I have never found a one that I feel satisfied with. Either it is too difficult to understand when using, or the file structure is too messy, so I have to roll up my sleeves and do it myself.

!!Please familiarize yourself with the Oauth/QQ/WeChat documentation first!! Please have basic debugging skills !!

Welcome Star, welcome PR !

If you have any questions to communicate, please post them here : OAuth2 exchange Or Send an email [email protected]

Integrating many third party login interfaces, including qq-login、wx-login、sina-login、github-login、alipay-login、aliyum-login、douyin-login and so on

集成了许多第三方登录界面,包括QQ登录、微信登录、新浪登录、github登录、支付宝登录、百度登录、抖音登录、GitLab、Naver、Line、codeing、csdn、gitee等,陆续增加ing

Documentation

You can find the tinymeng/oauth documentation on the website. Check out the Getting Started page for a quick overview.

General third-party login instructions document

Domestic Platforms

Gateways Login Name Login Method
qq Tencent QQ PC Scan Code, APP
wechat WeChat PC, Official Account, Mini Program, APP
wecom WeCom PC, APP
sina Sina Weibo PC, APP
alipay Alipay PC, APP
aliyun Alibaba Cloud PC
baidu Baidu PC
douyin Douyin PC, APP
toutiao Toutiao PC, APP
xigua Xigua Video PC, APP
dingtalk DingTalk PC, APP
xiaomi Xiaomi PC, APP
huawei Huawei PC, APP

Development Platforms

Gateways Login Name Login Method
github GitHub PC
gitlab GitLab PC
gitee Gitee PC
coding Coding PC
oschina OSChina PC
csdn CSDN PC

International Platforms

Gateways Login Name Login Method
google Google PC
facebook Facebook PC
twitter Twitter PC
line Line PC
naver Naver PC
amazon Amazon PC
apple Apple PC, APP
yahoo Yahoo PC
microsoft Microsoft PC

Notes:

  1. International platforms like Google, Facebook, and Twitter require overseas or Hong Kong servers for successful callback
  2. Some platforms support multiple authorization methods, such as PC web authorization and APP authorization
  3. Please read the corresponding platform's development documentation and complete developer qualification certification before use

Pay attention to :Google、facebook、twitter These foreign platforms require overseas or HK servers to successfully callback

Installation

composer require tinymeng/oauth:^2.0.0 -vvv

The namespace used by the class library is \\tinymeng\\oauth

Star History

Star History Chart

Clone this wiki locally