1. Go to this page and download the library: Download mrkatz/login-providers 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/ */
mrkatz / login-providers example snippets
use Mrkatz\LoginProviders\Traits\HasLoginProviders;
class User extends Authenticatable
{
use Notifiable, HasLoginProviders;
}
use Mrkatz\LoginProviders\Traits\UsesLoginProviders;
class RegisterController extends Controller
{
use RegistersUsers, UsesLoginProviders;
}