Description
HybridAuth enables developers to easily build social applications and tools
to engage websites visitors and customers on a social level by implementing
social sign-in, social sharing, users profiles, friends list, activities
stream, status updates and more.
The main goal of HybridAuth is to act as an abstract API between your application
and various social apis and identities providers such as Facebook, Twitter and Google.
HybridAuth alternatives and similar libraries
Based on the "Authentication and Authorization" category.
Alternatively, view HybridAuth alternatives based on common mentions on social networks and blogs.
-
Sign in with Apple for PHP
PHP library to verify and validate Apple IdentityToken and authenticate a user with Apple ID. -
Rinvex Authy PHP Client
Rinvex Authy is a simple wrapper for @Authy TOTP API, the best rated Two-Factor Authentication service for consumers, simplest 2fa Rest API for developers and a strong authentication platform for the enterprise.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of HybridAuth or a related project?
README
Hybridauth 3.8
Hybridauth enables developers to easily build social applications and tools to engage websites visitors and customers on a social level that starts off with social sign-in and extends to social sharing, users profiles, friends lists, activities streams, status updates and more.
The main goal of Hybridauth is to act as an abstract API between your application and the various social networks APIs and identities providers such as Facebook, Twitter and Google.
Usage
Hybridauth provides a number of basic examples. You can also find complete Hybridauth documentation at https://hybridauth.github.io
$config = [
'callback' => 'https://example.com/path/to/script.php',
'keys' => [
'key' => 'your-twitter-consumer-key',
'secret' => 'your-twitter-consumer-secret',
],
];
try {
$twitter = new Hybridauth\Provider\Twitter($config);
$twitter->authenticate();
$accessToken = $twitter->getAccessToken();
$userProfile = $twitter->getUserProfile();
$apiResponse = $twitter->apiRequest('statuses/home_timeline.json');
}
catch (\Exception $e) {
echo 'Oops, we ran into an issue! ' . $e->getMessage();
}
Requirements
- PHP 5.4+
- PHP Session
- PHP cURL
Installation
To install Hybridauth we recommend Composer, the now defacto dependency manager for PHP. Alternatively, you can download and use the latest release available at Github.
Versions Status
Version | Status | Repository | Documentation | PHP Version |
---|---|---|---|---|
2.x | Maintenance | v2 | v2 | >= 5.3 |
3.x | Development | v3 | v3 | >= 5.4 |
4.x | Future | -- | -- | >= 7.3 |
Questions, Help and Support?
For general questions (i.e, "how-to" questions), please consider using StackOverflow instead of the Github issues tracker. For convenience, we also have a [low-activity] Gitter channel if you want to get help directly from the community.
License
Hybridauth PHP Library is released under the terms of MIT License.
For the full Copyright Notice and Disclaimer, see COPYING.md.
*Note that all licence references and agreements mentioned in the HybridAuth README section above
are relevant to that project's source code only.