vinkas / firebase-auth-laravel
Firebase Authentication package for Laravel PHP Framework
Installs: 2 080
Dependents: 0
Suggesters: 0
Security: 0
Stars: 39
Watchers: 6
Forks: 14
Open Issues: 5
Requires
- firebase/php-jwt: ^4.0
- illuminate/contracts: ^5.2
- illuminate/support: ^5.2
This package is not auto-updated.
Last update: 2024-11-20 11:50:50 UTC
README
Installation
Via Composer Require
You may install by running the composer require
command in your terminal:
composer require vinkas/firebase-auth-laravel
Add Service Provider to your config/app.php
file
Vinkas\Firebase\Auth\ServiceProvider::class,
Run php artisan
command to publish package files into your app
php artisan vendor:publish --provider="Vinkas\Firebase\Auth\ServiceProvider"
Add your firebase project id, api key and auth domain in .env
file
FIREBASE_PROJECT_ID=__________
FIREBASE_API_KEY=__________
FIREBASE_AUTH_DOMAIN=__________
Configuration
- Override Laravel's existing authentication method.
- Add as additional authentication option. Without modifying Laravel's existing methods.