| home |
true |
| actionText |
Get Started → |
| actionLink |
/about/ |
| features |
| title |
details |
Simplicity First |
Minimal setup with a familiar structure helps you focus on developing your newest product. |
|
| title |
details |
Seamless Integration |
Following the same API as Laravel Socialite allows for a seamless integration. |
|
| title |
details |
Powerful Support |
The Socialite Manager grants you access to both custom and official providers. |
|
|
<style>
.maintain {
display: block;
margin-top: 0.3em;
color: #989898;
}
</style>
# 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();
MIT Licensed | Copyright © {{ (new Date).getFullYear() }} |
Contributors
Maintained by
atymic