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

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

niif/simplesamlphp-module-attributelimit
========================================

v1.0.0(10y ago)13112[1 PRs](https://github.com/NIIF/simplesamlphp-module-attributelimit/pulls)PHP

Since Apr 18Pushed 2y ago7 watchersCompare

[ Source](https://github.com/NIIF/simplesamlphp-module-attributelimit)[ Packagist](https://packagist.org/packages/niif/simplesamlphp-module-attributelimit)[ RSS](/packages/niif-simplesamlphp-module-attributelimit/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

README
======

[](#readme)

[![Build Status](https://camo.githubusercontent.com/1a698976c756330448b5ed6be9af687483ac5a53846ea9e8e6a4f9d3fa252b62/68747470733a2f2f7472617669732d63692e6f72672f4e4949462f73696d706c6573616d6c7068702d6d6f64756c652d6174747269627574656c696d69742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/NIIF/simplesamlphp-module-attributelimit)[![Total Downloads](https://camo.githubusercontent.com/1d591c1a139790c3beb9708abffa0e472761f795f165d729f07603ff7c53875d/68747470733a2f2f706f7365722e707567782e6f72672f6e6969662f73696d706c6573616d6c7068702d6d6f64756c652d6174747269627574656c696d69742f642f746f74616c2e706e67)](https://packagist.org/packages/niif/simplesamlphp-module-attributelimit)[![Latest Stable Version](https://camo.githubusercontent.com/4b3b3939aa52eda77d26b1bdd24b5a82ac8e61c2d09fa3c53f5947ee442ca328/68747470733a2f2f706f7365722e707567782e6f72672f6e6969662f73696d706c6573616d6c7068702d6d6f64756c652d6174747269627574656c696d69742f762f737461626c652e706e67)](https://packagist.org/packages/niif/simplesamlphp-module-attributelimit)

Install
=======

[](#install)

`composer require niif/simplesamlphp-module-attributelimit`

Usage
=====

[](#usage)

This module is a forked version of SimpleSAMLphp `core:AttributeLimit`. It adds the functionality of specifying bilateral attribute relations in addition to the attribute rules defined in the peer's metadata. You can both specify SP entityIDs where you send some additional attributes (*bilateralSPs*) and special attributes to send to some SPs (*bilateralAttributes*).

Example configuration:

```
$config = array(
    'class' => 'niif:AttributeLimit',
    'bilateralSPs' => array(
        'entityid1' => array(
            'attr1',
            'attr2'
        ),
        'entityid2' => array(
            'attr1',
            'attr2'
        ),
    ),
    'bilateralAttributes' => array(
        'attr1' => array(
            'entityid1',
            'entityid2'
        ),
        'attr2' => array(
            'entityid1',
            'entityid2'
        ),
    ),
    'attribute_x', 'attribute_y',
)

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

Unknown

Total

1

Last Release

3683d 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

[![szabogyula](https://avatars.githubusercontent.com/u/3406217?v=4)](https://github.com/szabogyula "szabogyula (5 commits)")[![Atisom](https://avatars.githubusercontent.com/u/19527748?v=4)](https://github.com/Atisom "Atisom (1 commits)")[![bajnokk](https://avatars.githubusercontent.com/u/9942990?v=4)](https://github.com/bajnokk "bajnokk (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[simplesamlphp/simplesamlphp

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

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

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

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

25305.4k1](/packages/drupalauth-simplesamlphp-module-drupalauth)

PHPackages © 2026

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