PHP code example of truckspace / laravel-walkway
1. Go to this page and download the library: Download truckspace/laravel-walkway 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/ */
truckspace / laravel-walkway example snippets
'truckspace' => [
'client_id' => env('TRUCKSPACE_CLIENT_ID'),
'client_secret' => env('TRUCKSPACE_CLIENT_SECRET'),
'redirect' => 'http://example.com/callback-url',
],
return Socialite::driver('truckspace')->redirect();