PHP code example of gzero / social

1. Go to this page and download the library: Download gzero/social 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/ */

    

gzero / social example snippets


Gzero\Social\ServiceProvider::class

 'google' => [
     'client_id'     => 'your client_id',
     'client_secret' => 'your client_secret',
 ],

 'facebook' => [
     'client_id'     => 'your client_id',
     'client_secret' => 'your client_secret',
 ],

 'twitter' => [
     'client_id'     => 'your client_id',
     'client_secret' => 'your client_secret',
 ],
 

  'facebook' => [
      'client_id'     => 'your client_id',
  ],
  

php artisan migrate