Download the PHP package gsdw/social without Composer
On this page you can find all versions of the php package gsdw/social. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package social
Laravel Gsdw Social
Introduction
install
add code to composer.json
"require": {
"laravel/socialite": "^2.0",
"gsdw/social": "0.1.*"
}
Configuration
register the Provider in your config/app.php
configuration file:
'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:
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
Add information app project in config/services.php
configuration file
'google' => [
'client_id' => 'your-github-app-id',
'client_secret' => 'your-github-app-secret',
'redirect' => url('social/handle/google'),
],
Add link Login
Default link to login social is /social/redirect/google
.
Can use html output link: \Gsdw\Social\Helpers\Output::googleButton()
Notification
Add code in layout to show notification `@if (count($errors) > 0)
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
@endif`
Reference
All versions of social with dependencies
PHP Build Version
Package Version
The package gsdw/social contains the following files
Loading the files please wait ....