PHP code example of lais / socialite-sabia-provider

1. Go to this page and download the library: Download lais/socialite-sabia-provider library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

lais / socialite-sabia-provider example snippets


'providers' => [
    // Other service providers...

    LAIS\Socialite\Sabia\ServiceProvider::class,
],

'sabia' => [
    'client_id' => 'your-sabiá-app-id',
    'client_secret' => 'your-sabiá-app-secret',
    'redirect' => 'http://your-callback-url',
],