PHPackages                             aerialship/saml-sp-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. aerialship/saml-sp-bundle

Abandoned → [lightsaml/sp-bundle](/?search=lightsaml%2Fsp-bundle)Symfony-bundle[Authentication &amp; Authorization](/categories/authentication)

aerialship/saml-sp-bundle
=========================

Symfony2 SAML2 authentication bundle

1.1.1(10y ago)65115.9k42[7 issues](https://github.com/aerialship/SamlSPBundle/issues)MITPHPPHP &gt;=5.4.1

Since Jul 9Pushed 9y ago9 watchersCompare

[ Source](https://github.com/aerialship/SamlSPBundle)[ Packagist](https://packagist.org/packages/aerialship/saml-sp-bundle)[ RSS](/packages/aerialship-saml-sp-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

SamlSPBundle
============

[](#samlspbundle)

NEW VERSION
-----------

[](#new-version)

> **New version of this library is available in it's own organization [lightsaml/sp-bundle](https://github.com/lightSAML/SpBundle)** supporting Symfony from version 2.3 to version 3.0. This old version of lightsaml will not be upgraded to support symfony versions newer then 2.7. More details on new version on [LightSAML website](http://www.lightsaml.com/SP-Bundle/).
>
> It is recommended to upgrade to the new lightsaml/lightsaml version. Still, this old library will be kept maintained for a while with bug fixes, but no new features will be added.

[![Build Status](https://camo.githubusercontent.com/dea9a5a027cd45f31f7bb9ad92dd0b97a65bc5740b7b51898a7be00d5bb59a6e/68747470733a2f2f7472617669732d63692e6f72672f61657269616c736869702f53616d6c535042756e646c652e706e67)](https://travis-ci.org/aerialship/SamlSPBundle)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/609bc78f83ce310b72a0b10e35a3e37f3ca720d0c506999e34dfb9cdaaad1ed9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61657269616c736869702f53616d6c535042756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f733d65613735613965383639626231393534336662306162393533306636333031306438613864613935)](https://scrutinizer-ci.com/g/aerialship/SamlSPBundle/)[![Code Coverage](https://camo.githubusercontent.com/4b79a3f59df3467900c8afe61b813b01598bb38dc8e7f09b1b1414b5bfe36dee/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61657269616c736869702f53616d6c535042756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/aerialship/SamlSPBundle/?branch=master)[![Sensio Insight](https://camo.githubusercontent.com/cd482ca2f516b026e4fc1b3831df680d9d0a4b273aaa5ca0ea50571259f1cfcc/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31663632333331342d346131342d346437372d626362662d3033663462653861373131612f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/1f623314-4a14-4d77-bcbf-03f4be8a711a)[![HHVM Status](https://camo.githubusercontent.com/c991793408dc7a8550c89c177f012e86436ad1f280efde5fe38269c15dbd063c/687474703a2f2f6868766d2e683463632e64652f62616467652f61657269616c736869702f73616d6c2d73702d62756e646c652e737667)](http://hhvm.h4cc.de/package/aerialship/saml-sp-bundle)

The SamlSpBundle adds support for SAML 2.0 Service Provider in Symfony2. It provides security listener that can be configured to authenticate users against one or more SAML Identity Providers.

Included features:

- Federation Metadata XML
- Discovery Service
- AuthnRequest / Single Sign On Login
- LogoutRequest / Single Logout
- Http Post and Http Redirect Bindings

Documentation
-------------

[](#documentation)

[Getting Started](src/AerialShip/SamlSPBundle/Resources/doc/index.md)

[Configuration Reference](src/AerialShip/SamlSPBundle/Resources/doc/configuration.md)

[Configuring/Implementing User Provider](src/AerialShip/SamlSPBundle/Resources/doc/user_provider.md)

CONTRIBUTING
------------

[](#contributing)

SamlSpBundle is an open source project and is open for contributions. Please follow guidelines from [Contributing and collaboration](https://github.com/aerialship/SamlSPBundle/wiki/Contributing-and-collaboration) wiki page.

Credits
-------

[](#credits)

Thanks to [FriendsOfSymfony/FOSUserBundle](https://github.com/FriendsOfSymfony/FOSUserBundle) and [formapro/FpOpenIdBundle](https://github.com/formapro/FpOpenIdBundle) open source projects that helped understand better how Symfony2 security works and learn how custom security extensions should be built.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 73.5% 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 ~183 days

Total

4

Last Release

3774d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28047195d6048ce03dcb0d7eb3c4a2b25ab811d468cd60cb1b3d825e29b866f2?d=identicon)[aerialship](/maintainers/aerialship)

---

Top Contributors

[![tmilos](https://avatars.githubusercontent.com/u/1818373?v=4)](https://github.com/tmilos "tmilos (111 commits)")[![BernardoSilva](https://avatars.githubusercontent.com/u/1537510?v=4)](https://github.com/BernardoSilva "BernardoSilva (14 commits)")[![i3or1s](https://avatars.githubusercontent.com/u/1193882?v=4)](https://github.com/i3or1s "i3or1s (7 commits)")[![AlbertBrand](https://avatars.githubusercontent.com/u/982975?v=4)](https://github.com/AlbertBrand "AlbertBrand (4 commits)")[![mattattui](https://avatars.githubusercontent.com/u/93214?v=4)](https://github.com/mattattui "mattattui (4 commits)")[![tamlyn](https://avatars.githubusercontent.com/u/115310?v=4)](https://github.com/tamlyn "tamlyn (4 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (2 commits)")[![dialogik](https://avatars.githubusercontent.com/u/1260548?v=4)](https://github.com/dialogik "dialogik (1 commits)")[![quentint](https://avatars.githubusercontent.com/u/349104?v=4)](https://github.com/quentint "quentint (1 commits)")[![victorjacobs](https://avatars.githubusercontent.com/u/34813?v=4)](https://github.com/victorjacobs "victorjacobs (1 commits)")[![lecajer](https://avatars.githubusercontent.com/u/2142505?v=4)](https://github.com/lecajer "lecajer (1 commits)")[![mathielen](https://avatars.githubusercontent.com/u/1571485?v=4)](https://github.com/mathielen "mathielen (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/aerialship-saml-sp-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/aerialship-saml-sp-bundle/health.svg)](https://phpackages.com/packages/aerialship-saml-sp-bundle)
```

###  Alternatives

[fp/openid-bundle

Symfony2 OpenID security extension

5243.1k2](/packages/fp-openid-bundle)[hslavich/simplesamlphp-bundle

SimpleSAMLphp Bundle for Symfony

22199.9k](/packages/hslavich-simplesamlphp-bundle)[korotovsky/sso-sp-bundle

Single-sign-on bundle for Symfony2. Service Provider part.

3316.0k](/packages/korotovsky-sso-sp-bundle)

PHPackages © 2026

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