Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hybridauth/hybridauth
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 such as Facebook, Twitter and Google.
https://github.com/hybridauth/hybridauth
facebook google hybridauth php social-login social-networks twitter
Last synced: 1 day ago
JSON representation
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 such as Facebook, Twitter and Google.
- Host: GitHub
- URL: https://github.com/hybridauth/hybridauth
- Owner: hybridauth
- License: other
- Created: 2011-11-15T23:38:39.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T14:14:21.000Z (about 2 months ago)
- Last Synced: 2025-01-13T18:04:28.438Z (8 days ago)
- Topics: facebook, google, hybridauth, php, social-login, social-networks, twitter
- Language: PHP
- Homepage: https://hybridauth.github.io/
- Size: 6.4 MB
- Stars: 3,353
- Watchers: 208
- Forks: 1,129
- Open Issues: 86
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: COPYING.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-github-repos - hybridauth/hybridauth - 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 such as Facebook, Twitter and Google. (PHP)
README
[![GitHub stars](https://img.shields.io/github/stars/hybridauth/hybridauth.svg)](https://github.com/hybridauth/hybridauth/stargazers)
[![GitHub issues](https://img.shields.io/github/issues/hybridauth/hybridauth.svg)](https://github.com/hybridauth/hybridauth/issues)[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://supportukrainenow.org/)
## [Hybridauth](https://hybridauth.github.io/) 3.11
[![Build Status](https://travis-ci.org/hybridauth/hybridauth.svg?branch=master)](https://travis-ci.org/hybridauth/hybridauth) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/hybridauth/hybridauth/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/hybridauth/hybridauth/?branch=master) [![Latest Stable Version](https://poser.pugx.org/hybridauth/hybridauth/v/stable.png)](https://packagist.org/packages/hybridauth/hybridauth) [![Join the chat at https://gitter.im/hybridauth/hybridauth](https://badges.gitter.im/Join%20Chat.svg)](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
Hybridauth provides a number of basic [examples](https://github.com/hybridauth/hybridauth/tree/master/examples). You can also find complete Hybridauth documentation at https://hybridauth.github.io
```php
$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](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
| Version | Status | Repository | Documentation | PHP Version |
|---------|-------------|-------------------------|-------------------------|-------------|
| 2.x | Maintenance | [v2][hybridauth-2-repo] | [v2][hybridauth-2-docs] | >= 5.3 |
| 3.x | Development | [v3][hybridauth-3-repo] | [v3][hybridauth-3-docs] | >= 5.4 |
| 4.x | Future | -- | -- | >= 7.3 |[hybridauth-2-repo]: https://github.com/hybridauth/hybridauth/tree/v2
[hybridauth-3-repo]: https://github.com/hybridauth/hybridauth/
[hybridauth-2-docs]: https://hybridauth.github.io/hybridauth/
[hybridauth-3-docs]: https://hybridauth.github.io/#### 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
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).