Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Hybridauth
✓ use Hybridauth\Hybridauth;
Authenticate a user via Google OAuth.
use Hybridauth\Hybridauth;
$config = [
'callback' => 'https://example.com/callback',
'providers' => [
'Google' => [
'enabled' => true,
'keys' => ['id' => '...', 'secret' => '...'],
],
],
];
$hybridauth = new Hybridauth($config);
$adapter = $hybridauth->authenticate('Google');
$userProfile = $adapter->getUserProfile();
Upgrade
Version history
3.13.0latest on Packagist
Audit
Dependencies
No dependency data recorded yet.