定制 socialogin/google 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

socialogin/google

最新稳定版本:1.0.0

Composer 安装命令:

composer require socialogin/google

包简介

Package of google login

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Installation

Require this package, with Composer, in the root directory of your project.

$ composer require socialogin/google

Add the service provider to config/app.php in the providers array.

Socailogin\Google\Providers\SocialLoginServiceProvider::class,

Configuration

Laravel requires connection configuration. To get started, you'll need to publish all vendor assets:

$ php artisan vendor:publish --provider="Socailogin\Google\Providers\SocialLoginServiceProvider"

You are free to change the configuration file as needed, but the default expected values are below in .env file:

GOOGLE_CLIENT_ID="your cllient key"
GOOGLE_CLIENT_SECRET="your client secret id" 
REDIRECT_URL="Your redirct URL"

Add google_id column in Users table and google login button on login page and assign the route as "route('auth.google')".

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-04-08