License Build Status Coverage Status Scrutinizer Code Quality Dependency Status

SocialConnect

Easy way to connect your project to Social network(s).

Open source social sign PHP Library. The main goal is to create an abstraction api between your application and various social apis and identities providers such as Facebook, Twitter and Google.

OAuth2

  • Facebook
  • GitHub
  • Vk (ВКонтакте)
  • Instagram
  • Twitter
  • PayPal
  • Google
  • Slack
  • BitBucket
  • Twitch
  • 500px

OAuth1

  • Twitter
  • 500px
  • Tumblr

OpenId

  • Steam

OpenIDConnect

  • Google

Pretty simple example

Connect to Google:
                    
$configuration = [
    'redirectUri' => 'http://sconnect.local/auth/cb',
    'provider' => [
        'facebook' => [
            'applicationId' => '',
            'applicationSecret' => '',
            'scope' => [
                'email'
            ]
        ],
    ]
];

$service = new \SocialConnect\Auth\Service(
    new \SocialConnect\Common\Http\Client\Curl(),
    new \SocialConnect\Provider\Session\Session(),
    $configuration
);