kodular / kodular-socialite
Kodular OAuth2 Provider for Laravel Socialite
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Installs: 102
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 0
pkg:composer/kodular/kodular-socialite
Requires
- php: ^7.2
- socialiteproviders/manager: ^3.0
This package is auto-updated.
Last update: 2022-02-15 12:56:39 UTC
README
Kodular Auth Provider for Laravel Socialite
Usage
Socialite::with('kodular')->redirect();
Development
Requirements
- PHP 7.2 or higher
- Laravel 6.0 or higher
Installation
- Add the repository to composer:
composer require kodular/kodular-socialite
- Add the
SocialiteWasCalled
toapp/Providers/EventServiceProvider.php
protected $listen = [ // a whole bunch of listeners \SocialiteProviders\Manager\SocialiteWasCalled::class => [ // add your listeners (aka providers) here 'SocialiteProviders\\Kodular\\KodularExtendSocialite@handle', ], ];
- Add the Kodular Auth settings to
config/services.php
'kodular' => [ 'client_id' => env('KODULAR_CLIENT_ID'), 'client_secret' => env('KODULAR_CLIENT_SECRET'), 'redirect' => env('KODULAR_REDIRECT_URI'), ],