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

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

sitya/simplesamlphp-module-attributelimit
=========================================

054PHP

Since Mar 12Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)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

16

—

LowBetter than 4% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/097d7040741c43881c098603170465470710d4af565f23d23a8ffa868d517f9b?d=identicon)[sitya](/maintainers/sitya)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[tg/tgwebvalid

An easy way to validate Telegram Login Widget and Telegram Mini App users on your website using PHP

6827.5k1](/packages/tg-tgwebvalid)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[kissdigital-com/apple-sign-in-client-secret-generator

PHP package for generating 'client secret' for Sign In with Apple

2125.5k](/packages/kissdigital-com-apple-sign-in-client-secret-generator)[denniseilander/laravel-passport-scopes-restriction

Restrict scopes for different Laravel Passport clients.

1636.3k](/packages/denniseilander-laravel-passport-scopes-restriction)

PHPackages © 2026

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