Package Data | |
---|---|
Maintainer Username: | m1guelpf |
Maintainer Contact: | sodoojin@gmail.com (Doojin So) |
Package Create Date: | 2015-10-08 |
Package Last Update: | 2024-11-07 |
Home Page: | https://socialiteproviders.com/Kakao/ |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-19 03:03:11 |
Package Statistics | |
---|---|
Total Downloads: | 421,005 |
Monthly Downloads: | 2,418 |
Daily Downloads: | 134 |
Total Stars: | 9 |
Total Watchers: | 5 |
Total Forks: | 5 |
Total Open Issues: | 0 |
composer require socialiteproviders/kakao
Please see the Base Installation Guide, then follow the provider specific instructions below.
config/services.php
.'kakao' => [
'client_id' => env('KAKAO_CLIENT_ID'),
'client_secret' => env('KAKAO_CLIENT_SECRET'),
'redirect' => env('KAKAO_REDIRECT_URI')
],
Configure the package's listener to the listen for SocialiteWasCalled
events.
Add the event to your listen[]
array in app/Providers/EventServiceProvider
. See the Base Installation Guide for detailed instructions.
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
// ... other providers
'SocialiteProviders\\Kakao\\KakaoExtendSocialite@handle',
],
];
You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):
return Socialite::with('kakao')->redirect();