attractgroup / social-auther
Auth in social
Installs: 109
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/attractgroup/social-auther
Requires
- laravel/framework: >=4.2.1
This package is not auto-updated.
Last update: 2025-10-12 00:20:34 UTC
README
#using
$redirect_uri = 'http://website.com/verity'; $auther = new SocialAuther(['vk', 'facebook'], $redirect_uri);
//Auth links
$links = $auther->getAuthUrls();
//If isset $_GET['code']
if ($auther->authenticate()) {
$data = [
'token' => $token,
'name' => $auther->getName(),
'email' => $auther->getEmail(),
];
}