PHP code example of pimplesushant / laravelsocialiteapi

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

    

pimplesushant / laravelsocialiteapi example snippets


php artisan migrate

php artisan passport:install

public function social_accounts()
{
	return $this->hasMany(\Pimplesushant\Laravelsocialiteapi\SocialAccount::class)->with('social_accounts');
}