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

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

szabogyula/simplesamlphp-module-attributelimit
==============================================

2.1.1(1y ago)0324LGPL-2.1-or-laterPHP

Since Apr 18Pushed 1y agoCompare

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

READMEChangelog (5)Dependencies (3)Versions (8)Used By (0)

README
======

[](#readme)

[![Build Status](https://camo.githubusercontent.com/486f3410da661062ef85bc99b00443cbdad31b88642d4432816fc69818ccdbff/68747470733a2f2f7472617669732d63692e6f72672f737a61626f6779756c612f73696d706c6573616d6c7068702d6d6f64756c652d6174747269627574656c696d69742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/szabogyula/simplesamlphp-module-attributelimit)[![Total Downloads](https://camo.githubusercontent.com/8e19161da0ac806b9f47d8d8fe343da6de9dca5df712736f923efd42a50b5738/68747470733a2f2f706f7365722e707567782e6f72672f737a61626f6779756c612f73696d706c6573616d6c7068702d6d6f64756c652d6174747269627574656c696d69742f642f746f74616c2e706e67)](https://packagist.org/packages/szabogyula/simplesamlphp-module-attributelimit)[![Latest Stable Version](https://camo.githubusercontent.com/4c4e54c028d7d652e7fef41522c35a3b6d76bd0a760dfce6fb77f5e534e38860/68747470733a2f2f706f7365722e707567782e6f72672f737a61626f6779756c612f73696d706c6573616d6c7068702d6d6f64756c652d6174747269627574656c696d69742f762f737461626c652e706e67)](https://packagist.org/packages/szabogyula/simplesamlphp-module-attributelimit)

Install
=======

[](#install)

`composer require szabogyula/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' => 'szabogyula: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

33

—

LowBetter than 75% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 94.7% 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 ~603 days

Recently: every ~390 days

Total

6

Last Release

663d ago

Major Versions

v1.0.2 → 2.0.02022-05-10

### Community

Maintainers

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

---

Top Contributors

[![szabogyula](https://avatars.githubusercontent.com/u/3406217?v=4)](https://github.com/szabogyula "szabogyula (18 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/szabogyula-simplesamlphp-module-attributelimit/health.svg)

```
[![Health](https://phpackages.com/badges/szabogyula-simplesamlphp-module-attributelimit/health.svg)](https://phpackages.com/packages/szabogyula-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)
