tinymeng/oauth

wechat sina qq alipay twitter google line facebook oauth

v2.2.5 2024-10-31 15:17 UTC

README

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 666@majiameng.com

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

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

目录结构

.
├── example                         Code source file directory
│   └── wx_proxy.php                WeChat Multi Domain Agent PHP Code Version
│   └── weixin-authorize-proxy.html WeChat multi domain proxy HTML code version, recommended to use HTML version
├── src                             Code source file directory
│   ├── Connector
│   │   ├── Gateway.php             Abstract classes that must be inherited
│   │   └── GatewayInterface.php    Interface that must be implemented
│   ├── Gateways
│   │   ├── Alipay.php
│   │   ├── Douyin.php
│   │   ├── Facebook.php
│   │   ├── Github.php
│   │   ├── Google.php
│   │   ├── Line.php
│   │   ├── Naver.php
│   │   ├── Qq.php
│   │   ├── Twitter.php
│   │   ├── Sina.php
│   │   └── Wechat.php
│   ├── Helper
│   │   ├── ConstCode.php           Common constant
│   │   └── Str.php                 String auxiliary class
│   └── OAuth.php                   Abstract instance class
├── composer.json                   Composer File
├── LICENSE                         MIT License
└── README.md                       Documentation

Star History

Star History Chart

如这些都懒得去申请资质以及想更简单的接入,下面会对你有帮助

微梦聚合快捷登录平台

微梦登录demo

1.微梦聚合快捷登录中转API 是一款社会化账号聚合登录系统,让网站的最终用户可以一站式选择使用包括微信、微博、QQ、百度等多种社会化帐号登录该站点。

2.简化用户注册登录过程、改善用户浏览站点的体验、迅速提高网站注册量和用户数据量。有完善的开发文档与SDK,方便开发者快速接入。

3.可快捷接入标有【彩虹聚合登录】、【Oauth聚合登录】、【聚合登录】等项目平台。

4.不需要具备oauth开发资质和申请流程。