Download the PHP package a2workspace/laravel-social-entry without Composer
On this page you can find all versions of the php package a2workspace/laravel-social-entry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download a2workspace/laravel-social-entry
More information about a2workspace/laravel-social-entry
Files in a2workspace/laravel-social-entry
Download a2workspace/laravel-social-entry
More information about a2workspace/laravel-social-entry
Files in a2workspace/laravel-social-entry
Vendor a2workspace
Package laravel-social-entry
Short Description 提供一個整合的第三方登入入口
License MIT
Package laravel-social-entry
Short Description 提供一個整合的第三方登入入口
License MIT
Keywords laravel
Please rate this library. Is it a good library?
Informations about the package laravel-social-entry
Laravel-Social-Entry
提供一個幾乎零配置,整合前後端的第三方登入的 API 身分認證接口
特性:
- 基於 Laravel Socialite 的 API 身分認證接口
- 專為前端 API 接口設計
- 解決一般登入與社群登入不統一的問題
- 解決新使用者透過社群登入後,要填寫完成註冊表格才能完成註冊的情況
- 整合社群帳號連結功能
- 支援多使用者模型
- 相容 Nuxt.js;參考套件 nuxt-social-entry
快速前往:
- Installation | 安裝
- Configuration | 配置
- 一個簡單的設定範例
- Registering Routes | 註冊路由
Installation | 安裝
要在專案中使用 SocialEntry,執行下列命令透過 Composer 引入到你的 Laravel 專案中:
接著使用 vendor:publish
命令生成設定檔:
現在你可以在 config/social-entry.php
中指定要啟用的第三方授權登入。
Configuration | 配置
開始用 SocialEntry 前,如同使用 Laravel Socialite,你必須要先將第三方服務設定加到 config/services.php
內。你可以使用下面的範例或參考說明 Laravel Socialite Configuration。
一個簡單的設定範例:
.env
/.env.example
設定:
這裡提供第三方的登入設定頁面連結:
Github
: https://github.com/settings/developersFacebook
: https://developers.facebook.com/apps/?show_reminder=trueGoogle
: https://console.cloud.google.com/apis/credentialsLine
: https://developers.line.biz/console/
Registering Routes | 註冊路由
接著你應該在 App\Providers\AuthServiceProvider
的 boot
方法中,呼叫 SocialEntry::routes
方法來註冊路由。
All versions of laravel-social-entry with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
jakeasmith/http_build_url Version ^1
socialiteproviders/line Version ^4.1
jakeasmith/http_build_url Version ^1
socialiteproviders/line Version ^4.1
The package a2workspace/laravel-social-entry contains the following files
Loading the files please wait ....