PHPackages                             splessons/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. splessons/hybridauth

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

splessons/hybridauth
====================

PHP Social Authentication Library

v3.0.0(6y ago)0188MITPHPPHP &gt;=5.4.0

Since Aug 4Pushed 6y agoCompare

[ Source](https://github.com/isreehari/hybridauth)[ Packagist](https://packagist.org/packages/splessons/hybridauth)[ Docs](https://hybridauth.github.io)[ RSS](/packages/splessons-hybridauth/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (51)Used By (0)

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

[](#hybridauth-30)

[![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](https://hybridauth.github.io/hybridauth/)&gt;= 5.33.xDevelopment[v3](https://github.com/hybridauth/hybridauth/)[v3](https://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

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity71

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 ~55 days

Recently: every ~19 days

Total

47

Last Release

2466d ago

Major Versions

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

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

v2.x-dev → v3.0.0-rc.72018-08-15

v2.14.0 → v3.0.0-rc.102019-03-25

v2.15.0 → v3.0.02019-05-31

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/fbdc950cb9944105cbf685a477b5391296f8f0c527c5f9e9b1c7a2fea3e6f35d?d=identicon)[isreehari](/maintainers/isreehari)

---

Top Contributors

[![miled](https://avatars.githubusercontent.com/u/380139?v=4)](https://github.com/miled "miled (208 commits)")[![StorytellerCZ](https://avatars.githubusercontent.com/u/1715235?v=4)](https://github.com/StorytellerCZ "StorytellerCZ (166 commits)")[![ApacheEx](https://avatars.githubusercontent.com/u/1918108?v=4)](https://github.com/ApacheEx "ApacheEx (99 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)")[![terehru](https://avatars.githubusercontent.com/u/623380?v=4)](https://github.com/terehru "terehru (11 commits)")[![fedetorre](https://avatars.githubusercontent.com/u/2004681?v=4)](https://github.com/fedetorre "fedetorre (11 commits)")[![Ridder90](https://avatars.githubusercontent.com/u/6659829?v=4)](https://github.com/Ridder90 "Ridder90 (10 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)")[![splessons](https://avatars.githubusercontent.com/u/5949947?v=4)](https://github.com/splessons "splessons (7 commits)")[![sebilasse](https://avatars.githubusercontent.com/u/750300?v=4)](https://github.com/sebilasse "sebilasse (7 commits)")[![mourjan](https://avatars.githubusercontent.com/u/6086854?v=4)](https://github.com/mourjan "mourjan (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)")[![josf](https://avatars.githubusercontent.com/u/100313?v=4)](https://github.com/josf "josf (6 commits)")[![SocalNick](https://avatars.githubusercontent.com/u/294123?v=4)](https://github.com/SocalNick "SocalNick (6 commits)")

---

Tags

apifacebookgoogleAuthenticationoauthauthorizationtwitterOpenIdsocial

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[hybridauth/hybridauth

PHP Social Authentication Library

3.4k8.5M94](/packages/hybridauth-hybridauth)[opauth/opauth

Multi-provider authentication framework for PHP

1.6k783.4k58](/packages/opauth-opauth)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40820.2M68](/packages/auth0-auth0-php)[and/oauth

Simple and amazing OAuth library with many providers. Just try it out!

4645.2k2](/packages/and-oauth)[lorenzoferrarajr/lfj-opauth

LfjOpauth is a Zend Framework 2 module that enables support for many authentication providers through the Opauth framework.

2915.4k](/packages/lorenzoferrarajr-lfj-opauth)

PHPackages © 2026

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