kodular/kodular-socialite

There is no license information available for the latest version (v1.1.0) of this package.

Kodular OAuth2 Provider for Laravel Socialite

This package's canonical repository appears to be gone and the package has been frozen as a result.

v1.1.0 2020-03-22 15:01 UTC

This package is auto-updated.

Last update: 2022-02-15 12:56:39 UTC


README

Kodular Socialite|726x608, 30%

Kodular Auth Provider for Laravel Socialite

Latest Stable Version Total Downloads Latest Unstable Version License

Usage

Socialite::with('kodular')->redirect();

Development

Requirements

  • PHP 7.2 or higher
  • Laravel 6.0 or higher

Installation

  1. Add the repository to composer: composer require kodular/kodular-socialite
  2. Add the SocialiteWasCalled to app/Providers/EventServiceProvider.php
protected $listen = [
  // a whole bunch of listeners
  \SocialiteProviders\Manager\SocialiteWasCalled::class => [
    // add your listeners (aka providers) here
    'SocialiteProviders\\Kodular\\KodularExtendSocialite@handle',
  ],
];
  1. 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'),
],