2017 © Pedro Peláez
 

library laravel-firebase-auth

Firebase Authenticator baked for Laravel.

image

kkcodes/laravel-firebase-auth

Firebase Authenticator baked for Laravel.

  • Saturday, March 3, 2018
  • by kinshuklahiri
  • Repository
  • 2 Watchers
  • 6 Stars
  • 250 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 2 Versions
  • 205 % Grown

The README.md

Firebase Authentication Package for Laravel

Description

Firebase Authentication package Baked for Laravel and currently supports Facebook and Google Login. Other methods will be added shortly., (*1)

Dependency

Installation

Via Composer Require

You may install by running the composer require command in your terminal:, (*2)

composer require kkcodes/laravel-firebase-auth

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

Skip the below mentioned step for Laravel 5.5 or greater, (*4)

Add Service Provider to your config/app.php file, (*5)

Kkcodes\FirebaseAuth\FirebaseAuthServiceProvider::class

Run php artisan command to publish package files into your app, (*6)

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

Now Let's migrate the required tables, (*7)

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, (*8)

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, (*9)

Run it, assuiming on localhost:8000/auth/login, (*10)

auth/login

The Versions

03/03 2018

dev-master

9999999-dev

Firebase Authenticator baked for Laravel.

  Sources   Download

MIT

24/02 2018

1.0

1.0.0.0

Firebase Authenticator baked for Laravel.

  Sources   Download

MIT