PHPackages                             hindy/social\_auth - 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. hindy/social\_auth

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

hindy/social\_auth
==================

0.3.1(9y ago)138MITPHPPHP &gt;=5.4

Since Mar 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/hashstudio/Mindy_SocialAuth)[ Packagist](https://packagist.org/packages/hindy/social_auth)[ Docs](https://github.com/hashstudio/Mindy_SocialAuth)[ RSS](/packages/hindy-social-auth/feed)WikiDiscussions master Synced today

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

OAuth 1.0 / 2.0 component
=========================

[](#oauth-10--20-component)

Authorize users with your application using multiple OAuth 1/2 providers.

Based on [oauth1](https://github.com/chrisnharvey/oauth1) and [oauth2](https://github.com/chrisnharvey/oauth2).

Supported Providers
-------------------

[](#supported-providers)

- Dropbox
- Flickr
- LinkedIn
- Tumblr
- Twitter
- UbuntuOne
- Vimeo
- Appnet
- Facebook
- Foursquare
- GitHub
- Google
- Instagram
- Mailchimp
- Mailru
- PayPal
- Soundcloud
- Vkontakte
- Windows Live
- Yandex
- YouTube
- Odnoklassniki

Usage Example
-------------

[](#usage-example)

In this example we will authenticate the user using Twitter.

```
qwe
```

### Calling OAuth 1 / 2 APIs using Guzzle

[](#calling-oauth-1--2-apis-using-guzzle)

You can also use this package to make calls to your respective APIs using Guzzle.

```
$client = new Mindy\SocialAuth\OAuthClient('http://api.twitter.com/1.1');
$client->setUserTokens($provider->getUserTokens());
echo $client->get('statuses/mentions_timeline.json')->send();
```

This example should show your Twitter mentions from the API along with the headers

```
$client = new \OAuth2\Client('https://graph.facebook.com');
$client->setUserTokens($oauth->getUserTokens());

echo $client->get('me')->send();
```

This example should show your Facebook profile from the API along with the headers

### TODO

[](#todo)

- OpenID

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Total

2

Last Release

3616d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17700234?v=4)[hashstudio](/maintainers/hashstudio)[@hashstudio](https://github.com/hashstudio)

---

Top Contributors

[![hashstudio](https://avatars.githubusercontent.com/u/17700234?v=4)](https://github.com/hashstudio "hashstudio (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hindy-social-auth/health.svg)

```
[![Health](https://phpackages.com/badges/hindy-social-auth/health.svg)](https://phpackages.com/packages/hindy-social-auth)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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