Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

hybridauth

> DevOps
Open source

Open source social sign on PHP Library. HybridAuth goal is to act as an abstract api between your application and various social apis and identities providers s

3.4K stars0 likes1 views
WebsiteGitHub

About

Open source social sign on PHP Library. HybridAuth goal is to act as an abstract api between your application and various social apis and identities providers s

Hybridauth 3.13

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.

GitHub Issues· 87 open

View all on GitHub
  • #1395

    Magento 2 looses customer session after SSO with Apple ID

    Updated Aug 5, 2025
  • #1433

    SameSite=Strict breaks Hybridauth

    Updated May 5, 2025
  • #1373

    Twitter login new API v2

    Updated Mar 12, 2025
  • #1426

    Provider request: BigCommerce

    Updated Mar 5, 2025
  • #1425

    What is the current status of Hybridauth 2.x?

    Updated Feb 24, 2025
  • #1422

    Reddit Login Returns 403

    Updated Feb 5, 2025
  • #1421

    Keycloak SSO

    Updated Feb 4, 2025
  • #1419

    getKidFromOLDCToken function

    Updated Jan 7, 2025
  • #1400

    Can somebody help to add WeWorkChat Provider?

    Updated Dec 11, 2024
  • #1417

    Undefined method GuzzleHttp\Exception\ConnectException::getResponse()

    Updated Dec 9, 2024

Highlights

  • •PHP 5.4+
  • •PHP Session
  • •PHP cURL

> Tags

PHPfacebookgooglehybridauthphp

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理