ALGsupport social login plugin allows you to login through various social platforms like facebook, gmail and twitter. And it also give you user informations like name, email, profile-pic etc.
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist algsupport/yii2-sociallogin "*"
or add
"algsupport/yii2-sociallogin": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
<?= \algsupport\sociallogin\AutoloadExample::widget(); ?>