kkcodes/laravel-firebase-auth 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

kkcodes/laravel-firebase-auth

Composer 安装命令:

composer require kkcodes/laravel-firebase-auth

包简介

Firebase Authenticator baked for Laravel.

README 文档

README

Description

Firebase Authentication package Baked for Laravel and currently supports Facebook and Google Login. Other methods will be added shortly.

Dependency

Installation

Via Composer Require

You may install by running the composer require command in your terminal:

composer require kkcodes/laravel-firebase-auth

Hope that the default Laravel Auth is already setup. If not, then do setup first.

Skip the below mentioned step for Laravel 5.5 or greater

Add Service Provider to your config/app.php file

Kkcodes\FirebaseAuth\FirebaseAuthServiceProvider::class

Run php artisan command to publish package files into your app

php artisan vendor:publish --provider="Kkcodes\FirebaseAuth\FirebaseAuthServiceProvider"

Now Let's migrate the required tables

php artisan migrate
composer dump-autoload
php artisan db:seed --class=FirebaseSigninSourceTableSeeder

From Firebase Console, at the top left corner, there is a Web Setup Button. Click on that and copy and paste the value for respective key in .env file

FIREBASE_AUTH_API_KEY=
FIREBASE_AUTH_DOMAIN=
FIREBASE_DB_URL=
FIREBASE_PROJET_ID=
FIREBASE_STORAGE_BUCKET=
FIREBASE_SENDER_ID=

This package by default uses Laravel app.blade.php, hence do add this, @yield('head') before the closing head tag

Run it, assuiming on localhost:8000/auth/login

auth/login

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固