承接 tinymeng/oauth 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tinymeng/oauth

Composer 安装命令:

composer require tinymeng/oauth

包简介

wechat sina qq alipay twitter google line facebook oauth

README 文档

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

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

Installation

composer require tinymeng/oauth:^2.0.0 -vvv

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

目录结构

.
├── example                         示例代码目录
│   ├── config                      配置示例
│   │   └── params.php              参数配置示例
│   ├── oauth2.php                  OAuth2 使用示例
│   ├── demo                        OAuth2 使用demo带html 示例
│   ├── proxy                       代理相关示例
│   │   └── wx_proxy.php            微信多域名代理 PHP 版本
│   └── weixin-authorize-proxy.html 微信多域名代理 HTML 版本(推荐)
├── src                             源代码目录
│   ├── Connector                   连接器基类目录
│   │   ├── Gateway.php             必须继承的抽象基类
│   │   └── GatewayInterface.php    必须实现的接口
│   ├── Exception                   异常处理目录
│   │   └── OAuthException.php      OAuth 异常类
│   ├── Gateways                    各平台授权实现目录
│   │   ├── Alipay.php              支付宝授权
│   │   ├── Aliyun.php              阿里云授权
│   │   ├── Baidu.php               百度授权
│   │   ├── Coding.php              Coding 授权
│   │   ├── Csdn.php                CSDN 授权
│   │   ├── Douyin.php              抖音授权
│   │   ├── Facebook.php            Facebook 授权
│   │   ├── Gitee.php               Gitee 授权
│   │   ├── Github.php              GitHub 授权
│   │   ├── Gitlab.php              GitLab 授权
│   │   ├── Google.php              Google 授权
│   │   ├── Line.php                Line 授权
│   │   ├── Naver.php               Naver 授权
│   │   ├── Oschina.php             OSChina 授权
│   │   ├── Qq.php                  QQ 授权
│   │   ├── Sina.php                新浪微博授权
│   │   ├── Twitter.php             Twitter 授权
│   │   └── Wechat.php              微信授权
│   ├── Helper                      辅助类目录
│   │   ├── ConstCode.php           公共常量定义
│   │   └── Str.php                 字符串辅助类
│   └── OAuth.php                   OAuth 工厂类
├── tests                           测试目录
│   └── OAuthTest.php               OAuth 测试类
├── composer.json                   Composer 配置文件
├── LICENSE                         MIT 开源协议
└── README.md                       说明文档

Contributors

Thanks for your contribution to the project!

Contributors Count
Contributors Avatars


Star History

Star History Chart

tinymeng/oauth 适用场景与选型建议

tinymeng/oauth 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 457 次下载、GitHub Stars 达 79, 最近一次更新时间为 2018 年 11 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「login」 「tinymeng」 「oauth-login」 「qq-login」 「wx-login」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 tinymeng/oauth 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 tinymeng/oauth 我们能提供哪些服务?
定制开发 / 二次开发

基于 tinymeng/oauth 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 457
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 81
  • 点击次数: 13
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 79
  • Watchers: 2
  • Forks: 16
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-09