PHPackages                             benji07/sso-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. benji07/sso-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

benji07/sso-bundle
==================

An SSO firewall for Symfony2

61181PHP

Since Oct 13Pushed 13y ago1 watchersCompare

[ Source](https://github.com/benji07/Benji07SsoBundle)[ Packagist](https://packagist.org/packages/benji07/sso-bundle)[ RSS](/packages/benji07-sso-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Installation
============

[](#installation)

Step 1: Download the bundle using composer
------------------------------------------

[](#step-1-download-the-bundle-using-composer)

```
"require": {
    "benji07/sso-bundle": "*"
}
```

Alternative Step 1: Download the bundle using the vendors script
----------------------------------------------------------------

[](#alternative-step-1-download-the-bundle-using-the-vendors-script)

```
[Buzz]
    git=https://github.com/kriswallsmith/Buzz.git
    version=v0.5

[BuzzBundle]
    git=https://github.com/sensio/SensioBuzzBundle.git
    target=/bundles/Sensio/Bundle/BuzzBundle

[LightOpenId]
    git=git://gitorious.org/lightopenid/lightopenid.git
    target=/lightopenid

[Benji07SSoBundle]
    git=https://github.com/benji07/Benji07SsoBundle.git
    target=/bundles/Benji07/SsoBundle

```

Step 2: Routing Configuration
-----------------------------

[](#step-2-routing-configuration)

```
Benji07SsoBundle:
    resource: "@Benji07SsoBundle/Resources/config/routing.yml"

```

Step 3: Security Configuration
------------------------------

[](#step-3-security-configuration)

```
firewalls:
    sso:
        pattern: ^/sso/login/
        security: false
    main:
        sso:
            check_path: /sso/login_check
```

Step 4: Application configuration
---------------------------------

[](#step-4-application-configuration)

```
benji07_sso:
    user_manager: your_user_manager.id
    providers:
        steam:
            service: benji07.sso.provider.steam
            options:
                apiKey: %steam_apiKey%
```

Step 5: Create an user manager
------------------------------

[](#step-5-create-an-user-manager)

Create a class that implements UserManagerInterface and declare it as a service

- findUser: find a user using the provider name and informations send by the provider
- createUser: create a user or return a response to handle the user registration on a different way (providers data is set in session on sso\_user)

Create new provider
===================

[](#create-new-provider)

There is a few provider defined by default, but if you need you could extends OAuth or OpenId providers or implements the ProviderInterface

Add a link to login
===================

[](#add-a-link-to-login)

```
Login with steam
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.2% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/941f803ceda5868fa8eddecc3e9a79daf37cde06f4879808447f6646daa4cd01?d=identicon)[sf\_tristanb](/maintainers/sf_tristanb)

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

---

Top Contributors

[![benji07](https://avatars.githubusercontent.com/u/166890?v=4)](https://github.com/benji07 "benji07 (15 commits)")[![tristanbes](https://avatars.githubusercontent.com/u/346010?v=4)](https://github.com/tristanbes "tristanbes (7 commits)")

### Embed Badge

![Health badge](/badges/benji07-sso-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/benji07-sso-bundle/health.svg)](https://phpackages.com/packages/benji07-sso-bundle)
```

###  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)
