PHPackages                             pleio/simplesaml - 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. pleio/simplesaml

ActiveElgg-plugin[Authentication &amp; Authorization](/categories/authentication)

pleio/simplesaml
================

Connect your site to a SAML/CAS IDentity Provider (IDP) as a Service Provider (SP) or configure your Elgg installation as an IDP

02.5kPHP

Since Dec 12Pushed 8y ago2 watchersCompare

[ Source](https://github.com/Pleio/simplesaml)[ Packagist](https://packagist.org/packages/pleio/simplesaml)[ RSS](/packages/pleio-simplesaml/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SimpleSAML [![Scrutinizer Quality Score](https://camo.githubusercontent.com/5c75be6f58300fa02ffdc2d0e605012ab5e8c0dcd32f684afae127e5b702e6b3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f436f6c64547269636b2f73696d706c6573616d6c2f6261646765732f7175616c6974792d73636f72652e706e673f733d61343864633566623765396666373638333733623265646661623234343137343335646463316462)](https://scrutinizer-ci.com/g/ColdTrick/simplesaml/)
=============================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#simplesaml-)

Connect your site to a SAML/CAS IDentity Provider (IDP) as a Service Provider (SP) or configure your Elgg installation as an IDP.

Requirements
------------

[](#requirements)

- installation of SimpleSAMLPHP
- read the INSTALL.txt

Features
--------

[](#features)

- Act as SAML Service Provider (SP)
- Act as CAS Service Provider (SP)
- Act as SAML Identity Provider (IDP)
- Use multiple external IDP's (autodetects configured IDP's)
- Login with federated accounts
- Optionally create accounts based on federated account data
- Link existing account to multiple external accounts
- Force authentication to an external IDP
    All your users will be forced to login using the configured external IDP
- Automaticly create user accounts based on the information provided by the external IDP
    This requires that the following attributes are set in the configuration of the SP
    - elgg:email =&gt; the email address of the user
    - elgg:firstname or elgg:lastname =&gt; because we need to create a displayname
    - elgg:external\_id =&gt; to link the newly created account to the external account
- Automaticly link existing users based on their profile information and information from the IDP
    This requires that the following attributes are set in the configuration of the SP
    - elgg:external\_id =&gt; the unique ID of the user on the IDP side
    - elgg:auto\_link =&gt; the value that the configured profile field must have to automaticly link the user

ToDo
----

[](#todo)

- Single Logout support as SP

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 67.3% 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/c6b79cd987d04cec19ad98f1e57aeff5ef080d0c2857e4eccdff52b99a80c63e?d=identicon)[pleio](/maintainers/pleio)

---

Top Contributors

[![jeabakker](https://avatars.githubusercontent.com/u/881958?v=4)](https://github.com/jeabakker "jeabakker (37 commits)")[![jdalsem](https://avatars.githubusercontent.com/u/861833?v=4)](https://github.com/jdalsem "jdalsem (13 commits)")[![bartjkdp](https://avatars.githubusercontent.com/u/5213690?v=4)](https://github.com/bartjkdp "bartjkdp (5 commits)")

### Embed Badge

![Health badge](/badges/pleio-simplesaml/health.svg)

```
[![Health](https://phpackages.com/badges/pleio-simplesaml/health.svg)](https://phpackages.com/packages/pleio-simplesaml)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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