PHPackages                             imotorbike/hybridauth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. imotorbike/hybridauth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

imotorbike/hybridauth
=====================

PHP Social Authentication Library

v2.13.0(7y ago)03.3k(MIT or GPL-3.0+)PHPPHP &gt;=5.2.0

Since Aug 4Pushed 7y agoCompare

[ Source](https://github.com/imotorbike/hybridauth)[ Packagist](https://packagist.org/packages/imotorbike/hybridauth)[ Docs](http://hybridauth.sourceforge.net)[ RSS](/packages/imotorbike-hybridauth/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (41)Used By (0)

[Hybridauth](https://hybridauth.github.io/) 3.0-rc9
---------------------------------------------------

[](#hybridauth-30-rc9)

[![Build Status](https://camo.githubusercontent.com/e2256259a663ba94eddf29377c8d2e1c8e57dc9a92910e2c07eae63aca2af83a/68747470733a2f2f7472617669732d63692e6f72672f687962726964617574682f687962726964617574682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hybridauth/hybridauth) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/04820fb868843b05c7e6bd6b94667912779d08c500fa1b5996fdd564a4792468/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f687962726964617574682f687962726964617574682f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/hybridauth/hybridauth/?branch=master) [![Latest Stable Version](https://camo.githubusercontent.com/e37a43cab1eff4122054b68cb42ecc8f36131e0db38153bd2ba0f553b628e2b9/68747470733a2f2f706f7365722e707567782e6f72672f687962726964617574682f687962726964617574682f762f737461626c652e706e67)](https://packagist.org/packages/hybridauth/hybridauth) [![Join the chat at https://gitter.im/hybridauth/hybridauth](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/hybridauth/hybridauth?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

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

[](#usage)

Hybridauth provides a number of basic [examples](https://github.com/hybridauth/hybridauth/tree/master/examples). You can also find complete Hybridauth documentation at

```
$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

[](#requirements)

- PHP 5.4+
- PHP Session
- PHP cURL

#### Installation

[](#installation)

To install Hybridauth we recommend [Composer](https://getcomposer.org/), the now defacto dependency manager for PHP. Alternatively, you can download and use the latest release available at [Github](https://github.com/hybridauth/hybridauth/releases).

#### Versions Status

[](#versions-status)

VersionStatusRepositoryDocumentationPHP Version2.xMaintenance[v2](https://github.com/hybridauth/hybridauth/tree/v2)[v2](http://hybridauth.github.io/hybridauth/)&gt;= 5.33.xDevelopment[v3](https://github.com/hybridauth/hybridauth/)[v3](http://hybridauth.github.io/)&gt;= 5.4#### Questions, Help and Support?

[](#questions-help-and-support)

For general questions (i.e, "how-to" questions), please consider using [StackOverflow](https://stackoverflow.com/questions/tagged/hybridauth) instead of the Github issues tracker. For convenience, we also have a \[low-activity\] [Gitter channel](https://gitter.im/hybridauth/hybridauth) if you want to get help directly from the community.

#### License

[](#license)

Hybridauth PHP Library is released under the terms of MIT License.

For the full Copyright Notice and Disclaimer, see [COPYING.md](https://github.com/hybridauth/hybridauth/blob/master/COPYING.md).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~61 days

Recently: every ~44 days

Total

40

Last Release

2650d ago

Major Versions

v2.9.1 → v3.0.0-beta.12017-04-08

v2.10.0 → v3.0.0-beta.22017-12-02

v2.12.0 → v3.0.0-rc.72018-08-15

PHP version history (2 changes)v2.1.0PHP &gt;=5.2.0

v3.0.0-beta.1PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/cec2996c4857606d04743de502a0c2355857bece1703ad0e627a85d5851624eb?d=identicon)[imotorbike](/maintainers/imotorbike)

---

Top Contributors

[![miled](https://avatars.githubusercontent.com/u/380139?v=4)](https://github.com/miled "miled (210 commits)")[![StorytellerCZ](https://avatars.githubusercontent.com/u/1715235?v=4)](https://github.com/StorytellerCZ "StorytellerCZ (167 commits)")[![ApacheEx](https://avatars.githubusercontent.com/u/1918108?v=4)](https://github.com/ApacheEx "ApacheEx (115 commits)")[![nazar-pc](https://avatars.githubusercontent.com/u/928965?v=4)](https://github.com/nazar-pc "nazar-pc (19 commits)")[![VladyslavKurmaz](https://avatars.githubusercontent.com/u/1977961?v=4)](https://github.com/VladyslavKurmaz "VladyslavKurmaz (13 commits)")[![davpsh](https://avatars.githubusercontent.com/u/6121462?v=4)](https://github.com/davpsh "davpsh (13 commits)")[![dashohoxha](https://avatars.githubusercontent.com/u/1495805?v=4)](https://github.com/dashohoxha "dashohoxha (12 commits)")[![Ridder90](https://avatars.githubusercontent.com/u/6659829?v=4)](https://github.com/Ridder90 "Ridder90 (12 commits)")[![fedetorre](https://avatars.githubusercontent.com/u/2004681?v=4)](https://github.com/fedetorre "fedetorre (11 commits)")[![terehru](https://avatars.githubusercontent.com/u/623380?v=4)](https://github.com/terehru "terehru (11 commits)")[![jeffery](https://avatars.githubusercontent.com/u/175114?v=4)](https://github.com/jeffery "jeffery (10 commits)")[![abgit](https://avatars.githubusercontent.com/u/5169137?v=4)](https://github.com/abgit "abgit (8 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (8 commits)")[![sebilasse](https://avatars.githubusercontent.com/u/750300?v=4)](https://github.com/sebilasse "sebilasse (7 commits)")[![josf](https://avatars.githubusercontent.com/u/100313?v=4)](https://github.com/josf "josf (6 commits)")[![annuh](https://avatars.githubusercontent.com/u/2487949?v=4)](https://github.com/annuh "annuh (6 commits)")[![aWuttig](https://avatars.githubusercontent.com/u/726519?v=4)](https://github.com/aWuttig "aWuttig (6 commits)")[![fortis](https://avatars.githubusercontent.com/u/1042494?v=4)](https://github.com/fortis "fortis (6 commits)")[![GwendolenLynch](https://avatars.githubusercontent.com/u/1427081?v=4)](https://github.com/GwendolenLynch "GwendolenLynch (6 commits)")[![mourjan](https://avatars.githubusercontent.com/u/6086854?v=4)](https://github.com/mourjan "mourjan (6 commits)")

---

Tags

facebookgoogleoauthtwitterOpenIdloginsocialyahoohybridauth

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/imotorbike-hybridauth/health.svg)

```
[![Health](https://phpackages.com/badges/imotorbike-hybridauth/health.svg)](https://phpackages.com/packages/imotorbike-hybridauth)
```

###  Alternatives

[hybridauth/hybridauth

PHP Social Authentication Library

3.4k8.5M94](/packages/hybridauth-hybridauth)[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M69](/packages/hwi-oauth-bundle)[opauth/opauth

Multi-provider authentication framework for PHP

1.6k783.4k58](/packages/opauth-opauth)[socialconnect/auth

Social Connect Auth Component

568845.4k5](/packages/socialconnect-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
