PHPackages                             emanueleminotto/hwi-oauth-bridge - 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. emanueleminotto/hwi-oauth-bridge

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

emanueleminotto/hwi-oauth-bridge
================================

Missing bridge between the HWIOAuthBundle and your Symfony 2 project.

1.0.1(10y ago)022MITPHPPHP &gt;=5.4

Since Nov 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/EmanueleMinotto/hwi-oauth-bridge)[ Packagist](https://packagist.org/packages/emanueleminotto/hwi-oauth-bridge)[ RSS](/packages/emanueleminotto-hwi-oauth-bridge/feed)WikiDiscussions master Synced 1mo ago

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

HWI OAuth Bridge
================

[](#hwi-oauth-bridge)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8861b7671b3d8279a23f856de6ab6e92242a082e2fd0ee3d974935467b764515/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656d616e75656c656d696e6f74746f2f6877692d6f617574682d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/emanueleminotto/hwi-oauth-bridge)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/816f0e360905e41c77d323bc034717cf882dad7810e2c7a4053cba3b3bf824b2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f456d616e75656c654d696e6f74746f2f6877692d6f617574682d6272696467652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/EmanueleMinotto/hwi-oauth-bridge)[![Coverage Status](https://camo.githubusercontent.com/744663d08222075e3b564a2c2008c3f6aa8d4c1d6f345812c686af4b032fea0d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f656d616e75656c656d696e6f74746f2f6877692d6f617574682d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/emanueleminotto/hwi-oauth-bridge/code-structure)[![Quality Score](https://camo.githubusercontent.com/3843e0423bb9d2b9e1731cda1ca2b0ba6fd563ce9266237796dd8e60492b16f5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f656d616e75656c656d696e6f74746f2f6877692d6f617574682d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/emanueleminotto/hwi-oauth-bridge)

Missing bridge between the [HWIOAuthBundle](https://github.com/hwi/HWIOAuthBundle) and your Symfony 2 project.

Install
-------

[](#install)

Via Composer

```
$ composer require emanueleminotto/hwi-oauth-bridge
```

Usage
-----

[](#usage)

To use one or more of included traits add them to your entities:

```
namespace AppBundle;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity
 * @ORM\Table
 */
class Example
{
    use \EmanueleMinotto\HwiOauthBridge\Traits\Entity\FacebookTrait;

    /**
     * @ORM\Column(type="integer")
     * @ORM\Id
     */
    private $id;

    // ...
}
```

And all related methods will be available throught the trait, so:

```
$example = new AppBundle\Example();

$example->setFacebookEmail('user@example.com');

$em->persist($example);
$em->flush();

echo $example->getFacebookEmail(); // user@example.com
```

Doctrine 2 ORM are available under the folder *Entity* and Doctrine ODM under the *Document* folder.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Emanuele Minotto](https://github.com/EmanueleMinotto)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

3690d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30b6fbd038f22a54716027eb7ce30c6cafd8e59c138ae58b3c2516c34ccfef7f?d=identicon)[EmanueleMinotto](/maintainers/EmanueleMinotto)

---

Top Contributors

[![EmanueleMinotto](https://avatars.githubusercontent.com/u/417201?v=4)](https://github.com/EmanueleMinotto "EmanueleMinotto (17 commits)")

---

Tags

wordpressamazonfacebookinstagramgooglesecurityAuthenticationbitlyoauthoauth2bitbucketgithubtwittertrellooauth1jiradeviantartwechatyandexsalesforcelinkedinboxmailrufirewalldisqusdailymotionflickrwindows livevkontaktesensio connectyahoodropboxfoursquare37signalstwitchodnoklassnikistack exchangestereomoodqqsina weiboeventbritespotifyhubicfiwarebufferapp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/emanueleminotto-hwi-oauth-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/emanueleminotto-hwi-oauth-bridge/health.svg)](https://phpackages.com/packages/emanueleminotto-hwi-oauth-bridge)
```

###  Alternatives

[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M69](/packages/hwi-oauth-bundle)[and/oauth

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

4645.2k2](/packages/and-oauth)[socialconnect/auth

Social Connect Auth Component

568845.4k5](/packages/socialconnect-auth)[fof/oauth

Allow users to log in with GitHub, Facebook, Google, Discord, GitLab, LinkedIn, and more!

50118.7k41](/packages/fof-oauth)

PHPackages © 2026

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