Download the PHP package yurunsoft/yurun-oauth-login without Composer

On this page you can find all versions of the php package yurunsoft/yurun-oauth-login. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yurun-oauth-login

YurunOAuthLogin

Latest Version IMI Doc IMI License

介绍

YurunOAuthLogin 是一个 PHP 第三方登录授权 SDK,集成了 QQ、微信、微博、GitHub 等常用接口。

无框架依赖,支持所有框架,支持 Swoole 协程环境。

我们有完善的在线技术文档:http://doc.yurunsoft.com/YurunOAuthLogin

API 文档:https://apidoc.gitee.com/yurunsoft/YurunOAuthLogin

宇润PHP全家桶群:17916227 点击加群,如有问题会有人解答和修复。

程序员日常划水群:74401592 点击加群

大家在开发中肯定会对接各种各样的第三方平台,我个人精力有限,欢迎各位来提交 PR (GitHub),一起完善它,让它能够支持更多的平台,更加好用。

支持的登录平台

后续将不断添加新的平台支持,也欢迎你来提交PR,一起完善!

安装

在您的 composer.json 中加入配置:

PHP >= 5.5.0

PHP < 5.5.0

3.x 版本支持 PHP >= 5.5,持续迭代维护中

2.x 版本支持 PHP >= 5.4,支持长期 BUG 维护,保证稳定可用,停止功能性更新

代码实例

自 v1.2 起所有方法统一参数调用,如果需要额外参数的可使用对象属性赋值,具体参考 test 目录下的测试代码。

下面代码以 QQ 接口举例,完全可以把 QQ 字样改为其它任意接口字样使用。

实例化

登录

回调处理

解决第三方登录只能设置一个回调域名的问题

Swoole 协程环境支持

特别鸣谢

捐赠

开源不求盈利,多少都是心意,生活不易,随缘随缘……


All versions of yurun-oauth-login with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
yurunsoft/yurun-http Version ~4.0|~5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yurunsoft/yurun-oauth-login contains the following files

Loading the files please wait ....