Hybridauth abstracts social login and profile APIs behind one PHP interface. It targets sign-in flows and can extend to profiles, contacts, and activity data.
Overview
Hybridauth is a PHP library that sits between your application and social networks or identity providers such as Facebook, Twitter, and Google. The stated goal is a single abstract API so applications can add social sign-on without bespoke code per provider.
Beyond login, the project describes building social features such as sharing, user profiles, friend lists, activity streams, and status updates, depending on what each provider exposes. Basic examples and full documentation are published on the project site.
Installation is intended via Composer, with downloadable releases also available. Runtime requirements include PHP sessions and cURL. Major version lines differ in PHP baseline support, with active development on the 3.x series when the source was captured.
Hybridauth is maintained as open source under the MIT License, with documentation under Creative Commons terms. Community help is directed to Stack Overflow and a low-activity Gitter channel rather than GitHub issues for general how-to questions.
For PHP sites that need OAuth-style social authentication without implementing each provider protocol separately, the library centralizes adapter configuration and callback handling.
Key features
- Unified social provider adapters
- Social sign-in workflows
- Profile and friends retrieval
- Composer-based installation
- Documented basic examples
- Multiple provider backends
- MIT-licensed PHP code
Use cases
- Social login on PHP websites
- Fetching basic social profiles
- Prototyping multi-provider auth
- Legacy PHP app OAuth integration