PHPackages                             damianociarla/opauth-fosub-bundle - 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. [Framework](/categories/framework)
4. /
5. damianociarla/opauth-fosub-bundle

ActiveLibrary[Framework](/categories/framework)

damianociarla/opauth-fosub-bundle
=================================

DCSOpauthFOSUBBundle is a Symfony2 bundle that integrates DCSOpauthBundle with FOSUserBundle and allows users to login/register to your site using third party authentication

v1.0.7(11y ago)574MITPHPPHP &gt;=5.3

Since May 28Pushed 11y ago1 watchersCompare

[ Source](https://github.com/damianociarla/DCSOpauthFOSUBBundle)[ Packagist](https://packagist.org/packages/damianociarla/opauth-fosub-bundle)[ Docs](https://github.com/damianociarla/DCSOpauthFOSUBBundle)[ RSS](/packages/damianociarla-opauth-fosub-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (2)Versions (9)Used By (0)

DCSOpauthFOSUBBundle
====================

[](#dcsopauthfosubbundle)

**DCSOpauthFOSUBBundle** is a Symfony2 bundle that integrates [DCSOpauthBundle](https://github.com/damianociarla/DCSOpauthBundle) with [FOSUserBundle](https://github.com/FriendsOfSymfony/FOSUserBundle/) and allows users to login/register to your site using third party authentication.

This bundle uses an Entity, related to the FOS user table, to store the user's data retrieved by the authentication service.

This bundle does not modify the FOSUserBundle login/registration but allows the user to synchronize with providers enabled by the application.

Prerequisites
-------------

[](#prerequisites)

To use DCSOpauthFOSUBBundle you need to download, install and configure DCSOpauthBundle and FOSUserBundle.

For specific documentation refer to the documentation of the individual bundles

Installation
------------

[](#installation)

### a) Download and install DCSOpauthFOSUBBundle

[](#a-download-and-install-dcsopauthfosubbundle)

To install DCSOpauthBundle run the following command

```
bash $ php composer.phar require damianociarla/opauth-fosub-bundle

```

### b) Enable the bundle

[](#b-enable-the-bundle)

To enable it add the bundle instance in the kernel:

```

```

### d) Configure the bundle

[](#d-configure-the-bundle)

Now that you have properly enabled and configured the DCSOpauthFOSUBBundle, the next step is to configure the bundle to work with the specific needs of your application.

Add the following configuration to your config.yml file.

```
# app/config/config.yml

dcs_opauth_fosub:
    oauth_model: Acme\OpauthFOSUBBundle\Entity\Oauth

```

How does it work?
-----------------

[](#how-does-it-work)

DCSOpauthFOSUBBundle doesn't change the FOSUserBundle registration flow but adds the possibility to synchronize and register using external authentication providers (Facebook, Google, LinkedIn) using the `connect` route provided by DCSOpauth.

If the user is not authenticated, after authenticating with DCSOpauthBundle, DCSOpauthFOSUBBundle checks if a user with that UID exists, if it does exist the user gets logged-in, if it does not exist, the FOSUserBundle registration form is opened. At the end of the FOSUserBundle registration a record with the provider name and UID is created and associated with the new user.

If the user is already authenticated, after authenticating with DCSOpauthBundle, DCSOpauthFOSUBBundle associates the logged-in user with the UID and provider name.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~0 days

Total

8

Last Release

4197d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1b89330075f70671ac85413fc96a516f79a3f63887536991890d5e6bb694e24?d=identicon)[damianociarla](/maintainers/damianociarla)

---

Top Contributors

[![damianociarla](https://avatars.githubusercontent.com/u/2201712?v=4)](https://github.com/damianociarla "damianociarla (10 commits)")

---

Tags

frameworkSymfony2oauthoauth2OPAuthsyncfosFOSUserBundledcsopauthbundle

### Embed Badge

![Health badge](/badges/damianociarla-opauth-fosub-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/damianociarla-opauth-fosub-bundle/health.svg)](https://phpackages.com/packages/damianociarla-opauth-fosub-bundle)
```

###  Alternatives

[laminas-api-tools/api-tools-oauth2

Laminas module for implementing an OAuth2 server

112.0M5](/packages/laminas-api-tools-api-tools-oauth2)[joomla/oauth2

Joomla OAuth2 Package

10303.1k2](/packages/joomla-oauth2)[digitalstars/simplevk

Powerful PHP library/framework for VK API bots, supporting LongPoll &amp; Callback &amp; OAuth

883.9k3](/packages/digitalstars-simplevk)

PHPackages © 2026

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