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

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

niif/simplesamlphp-module-shib2idpnameid
========================================

Filter to generate generate PersistentNameID (and the value for eduPersonTargetedID) with the same algorithm as Shibboleth IdP does.

v1.3(6y ago)22723[5 PRs](https://github.com/NIIF/simplesamlphp-module-shib2idpnameid/pulls)LGPL-2.1-onlyPHP

Since Jan 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/NIIF/simplesamlphp-module-shib2idpnameid)[ Packagist](https://packagist.org/packages/niif/simplesamlphp-module-shib2idpnameid)[ Docs](https://eduid.hu)[ RSS](/packages/niif-simplesamlphp-module-shib2idpnameid/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (2)Versions (10)Used By (0)

Shib2nameID modul for SimpleSAMLphp
===================================

[](#shib2nameid-modul-for-simplesamlphp)

This modul can generate PersistentNameID (and the value for eduPersonTargetedID) with the same algorithm as Shibboleth IdP does. You would need this module if you migrate your IdP from Shibboleth to SimpleSAMLphp, and don't want the ePTID values to be changed.

Usage
-----

[](#usage)

You have to use the same `secretsalt` as you did at Shibboleth IdP.

Put into the `authproc.idp` section:

```
5 => array(
       'class' => 'shib2idpnameid:PersistentNameID',
       'nameId' => true,
       'attribute' => 'uid',
       'attributename' => 'eduPersonTargetedID'
),

```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 55.6% 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 ~371 days

Total

5

Last Release

2328d ago

### Community

Maintainers

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

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

![](https://www.gravatar.com/avatar/58cf0b44aa083da212f27d6c89a3ba7b0716079d39f2d2d845d4997d61e93571?d=identicon)[northway](/maintainers/northway)

---

Top Contributors

[![northway](https://avatars.githubusercontent.com/u/3431401?v=4)](https://github.com/northway "northway (5 commits)")[![pradtke](https://avatars.githubusercontent.com/u/932934?v=4)](https://github.com/pradtke "pradtke (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![sitya](https://avatars.githubusercontent.com/u/1099191?v=4)](https://github.com/sitya "sitya (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[simplesamlphp/simplesamlphp

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

1.1k12.8M211](/packages/simplesamlphp-simplesamlphp)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5017.7k1](/packages/simplesamlphp-simplesamlphp-module-oidc)[drupalauth/simplesamlphp-module-drupalauth

A SimpleSAMLphp module adding support for Drupal as the authentication source.

25317.5k1](/packages/drupalauth-simplesamlphp-module-drupalauth)[cirrusidentity/simplesamlphp-module-authoauth2

SSP Module for Oauth2 authentication sources

33106.2k](/packages/cirrusidentity-simplesamlphp-module-authoauth2)

PHPackages © 2026

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