Download the PHP package bitfumes/laravel-breezer without Composer
On this page you can find all versions of the php package bitfumes/laravel-breezer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bitfumes/laravel-breezer
More information about bitfumes/laravel-breezer
Files in bitfumes/laravel-breezer
Package laravel-breezer
Short Description Full API authentication in laravel with social login
License MIT
Informations about the package laravel-breezer
breezer
Install
composer require bitfumes/laravel-breezer
Steps to follow
Steps 1
-
Add
Breezer
trait to your user model. - Add Contract
MustVerifyEmail
to your authenticatable model if you want to enable email verification.
Step 2
Now publish two new migrations
- To add avatar field to your use model.
- To add social login profile.
Step 3
After getting migrations in your laravel application, its time to have these tables in your database.
Step 4
Set your frontend URL on your .env file FRONT_URL
Set frontend Verify Email URL on your .env file BREEZER_VERIFY_URL
Set frontend password reset URL on your .env file BREEZER_RESET_URL
Step 5
Because every user need to verify its email and to send email we are going to use laravel queue.
Now add queue driver on your .env
file
That's it, now enjoy api auth with JWT
Testing
Run the tests with:
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-breezer with dependencies
intervention/image Version ^2.7
laravel/sanctum Version ^3.2
laravel/socialite Version ^5.6