PHP code example of fatigba / symfony-social-login-bundle

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

    

fatigba / symfony-social-login-bundle example snippets

 
KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true]

JFK\SocialLogin\SocialLoginBundle::class => ['all' => true]

JFk\SocialLogin\Google\Security\GoogleAuthenticator

@Route("/sociallogin/google", name="connect_google")

@Route("/sociallogin/google/check", name="connect_google_check")