Socialite Providers
A Collection of Providers for Laravel Socialite
Simplicity First
Minimal setup with a familiar structure helps you focus on developing your newest product.
Seamless Integration
Following the same API as Laravel Socialite allows for a seamless integration.
Powerful Support
The Socialite Manager grants you access to both custom and official providers.
# install
composer require socialiteproviders/twitter
# register
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
'SocialiteProviders\Twitter\TwitterExtendSocialite@handle'
],
];
# configure
'twitter' => [
'client_id' => env('TWITTER_KEY'),
'client_secret' => env('TWITTER_SECRET'),
'redirect' => env('TWITTER_REDIRECT_URI'),
]
# start building
return Socialite::driver('twitter')->redirect();