dev-master
9999999-devLaravel social connect
MIT
The Requires
- php >=5.4.0
- gsdw/base 0.1.*
by Giang Soda
social loggin
v0.1.0
0.1.0.0Laravel social connect
MIT
The Requires
- php >=5.4.0
- gsdw/base 0.1.*
by Giang Soda
social loggin
Wallogit.com
2017 © Pedro Peláez
Laravel social connect
add code to composer.json
"require": {
"laravel/socialite": "^2.0",
"gsdw/social": "0.1.*"
}
register the Provider in your config/app.php configuration file:, (*1)
'providers' => [
// Other service providers...
Laravel\Socialite\SocialiteServiceProvider::class,
Gsdw\Social\Providers\SocialServiceProvider::class,
],
Also, add the Socialite facade to the aliases array in your app configuration file:, (*2)
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
Add information app project in config/services.php configuration file, (*3)
'google' => [
'client_id' => 'your-github-app-id',
'client_secret' => 'your-github-app-secret',
'redirect' => url('social/handle/google'),
],
Default link to login social is /social/redirect/google.
Can use html output link: \Gsdw\Social\Helpers\Output::googleButton(), (*4)
Add code in layout to show notification
@if (count($errors) > 0)
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
@endif, (*5)
https://github.com/laravel/socialite, (*6)
Laravel social connect
MIT
social loggin
Laravel social connect
MIT
social loggin