Package Data | |
---|---|
Maintainer Username: | rokde |
Maintainer Contact: | rok@ipunkt.biz (Robert Kummer) |
Package Create Date: | 2016-12-06 |
Package Last Update: | 2016-12-06 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2022-05-24 03:13:14 |
Package Statistics | |
---|---|
Total Downloads: | 14 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 7 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Socialite profiles extends the Laravel Socialite package by allowing multiple social network profiles being attached at the user. Attaching and detaching can be done after being logged in.
Just install the package on your authorization server
composer require ipunkt/laravel-socialite-profiles
and add the Service Provider in your config/app.php
\Ipunkt\Laravel\SocialiteProfiles\SocialiteProfilesServiceProvider::class,
Then use @include('socialite-profiles::logins')
in your login blade template to display all possible configured social logins.
Run php artisan vendor:publish --provider="\Ipunkt\Laravel\SocialiteProfiles\SocialiteProfilesServiceProvider"
redirect-when-user-logged-in
Setting the redirect path when user logged successfully in.
user-model
Setting model class for your user model.
route
Set your authentication route path. This path will be followed by the social provider.
detaching_route
Set your detaching a social profile route path. This path will be followed by the social provider.
Use trait HasSocialProfiles
in your User model to attach the social profiles.
Socialite Profiles is open-sourced software licensed under the MIT license