PHP code example of wuwx / laravel-socialite-passport

1. Go to this page and download the library: Download wuwx/laravel-socialite-passport 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/ */

    

wuwx / laravel-socialite-passport example snippets


'passport' => [
    'client_id' => '1',
    'client_secret' => 'Vu0ex2n0ZrgXwXTh0NwTxkBeah0M72M02K8LESVi',
    'redirect' => "http://client.test/login/passport/callback",
    'server_url' => 'http://server.test'
],
config/services.php