PHPackages                             simplesamlphp/simplesamlphp-module-adfs - 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. simplesamlphp/simplesamlphp-module-adfs

ActiveSimplesamlphp-module[Authentication &amp; Authorization](/categories/authentication)

simplesamlphp/simplesamlphp-module-adfs
=======================================

A module that implements the WS-federation IDP

v3.1.2(1mo ago)66.7M↓34.8%7[1 PRs](https://github.com/simplesamlphp/simplesamlphp-module-adfs/pulls)2LGPL-2.1-or-laterPHPPHP ^8.3CI passing

Since Mar 13Pushed 3w ago4 watchersCompare

[ Source](https://github.com/simplesamlphp/simplesamlphp-module-adfs)[ Packagist](https://packagist.org/packages/simplesamlphp/simplesamlphp-module-adfs)[ RSS](/packages/simplesamlphp-simplesamlphp-module-adfs/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (49)Versions (61)Used By (2)

ADFS Module
===========

[](#adfs-module)

[![Build Status](https://github.com/simplesamlphp/simplesamlphp-module-adfs/actions/workflows/php.yml/badge.svg)](https://github.com/simplesamlphp/simplesamlphp-module-adfs/actions/workflows/php.yml/badge.svg)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/94800ee26832f63db44200848eac2ee9b3f898e647601144ad2df8aebc9d4849/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d616466732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/simplesamlphp/simplesamlphp-module-adfs/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/4a336734f26f6242e4e251ac985bfd5d72d34b260c12d8aec9d67b8f99902cdf/68747470733a2f2f636f6465636f762e696f2f67682f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d616466732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/simplesamlphp/simplesamlphp-module-adfs)[![Type coverage](https://camo.githubusercontent.com/a98a2c5ccad12b6c8a06fef4ec8335d92afa4c3db46403423416c409ea1b9ec9/68747470733a2f2f73686570686572642e6465762f6769746875622f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d616466732f636f7665726167652e737667)](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-adfs)

Install
-------

[](#install)

Install with composer

```
    vendor/bin/composer require simplesamlphp/simplesamlphp-module-adfs
```

Configuration
-------------

[](#configuration)

Next thing you need to do is to enable the module: in `config.php`, search for the `module.enable` key and set `adfs` to true:

```
    'module.enable' => [
         'adfs' => true,
         …
    ],
```

View samples in `metadata-templates` for defining your idp and any relying parties/sps.

### Tips for admins new to WS-Fed

[](#tips-for-admins-new-to-ws-fed)

- A `realm` is similar to an entityId from SAML. `adfs-sp-remote.php` metadata array is based on `realm`. An IP STS is similar to an IdP.
- Some WS-Fed Relying Party applications want the assertion lifetime to be longer than the application's session lifetime. If not, the application will send the user to the IdP to login again, hoping for a longer lived assertion. SSP's default assertion lifetime is 5 minutes while SharePoint, by default, wants 10 minutes. Use the `assertion.lifetime` in `adfs-sp-remote.php` to set the time greater than that set in SharePoint (which can be configured by adjusting `LogonTokenCacheExpirationWindow`)

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance93

Actively maintained with recent releases

Popularity50

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.8% 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 ~50 days

Total

54

Last Release

39d ago

Major Versions

v0.9.6 → v1.0.32020-08-18

v0.9.8 → v2.0.0-beta.12021-09-03

v0.9.10 → v1.0.62022-01-17

v1.0.9 → v2.0.0-rc12022-05-30

v2.1.7 → v3.0.0-rc12024-10-23

PHP version history (8 changes)v1.0.0PHP &gt;=5.5

v1.0.1PHP &gt;=5.6

v2.0.0-beta.1PHP &gt;=7.4 || ^8.0

v1.0.5PHP &gt;=7.4

v1.0.6PHP &gt;=7.1

v2.1.0PHP ^8.0

v2.1.6PHP ^8.1

v3.1.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/579a16ea8afccc6ab420c393f0e573296fe46dcd293aa4f3b71eefc158ebf3e4?d=identicon)[jaime](/maintainers/jaime)

![](https://www.gravatar.com/avatar/9221e348303eeda74e85236a8bff9b919a90d10e3a478fe1cbb9d833f68d0150?d=identicon)[thijskh](/maintainers/thijskh)

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

---

Top Contributors

[![tvdijen](https://avatars.githubusercontent.com/u/841045?v=4)](https://github.com/tvdijen "tvdijen (215 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (22 commits)")[![m0ark](https://avatars.githubusercontent.com/u/33390109?v=4)](https://github.com/m0ark "m0ark (2 commits)")[![thijskh](https://avatars.githubusercontent.com/u/3808792?v=4)](https://github.com/thijskh "thijskh (2 commits)")[![pradtke](https://avatars.githubusercontent.com/u/932934?v=4)](https://github.com/pradtke "pradtke (1 commits)")

---

Tags

simplesamlphpadfs

### Embed Badge

![Health badge](/badges/simplesamlphp-simplesamlphp-module-adfs/health.svg)

```
[![Health](https://phpackages.com/badges/simplesamlphp-simplesamlphp-module-adfs/health.svg)](https://phpackages.com/packages/simplesamlphp-simplesamlphp-module-adfs)
```

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k13.0M221](/packages/simplesamlphp-simplesamlphp)[simplesamlphp/saml2

SAML2 PHP library from SimpleSAMLphp

30418.0M43](/packages/simplesamlphp-saml2)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.4k](/packages/symfony-security-bundle)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[simplesamlphp/simplesamlphp-module-webauthn

A PHP implementation of a FIDO2 / WebAuthn authentication agent

181.7k](/packages/simplesamlphp-simplesamlphp-module-webauthn)

PHPackages © 2026

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