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
=========================================

048PHP

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 1mo 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

17

—

LowBetter than 6% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity15

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

[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)
