PHPackages                             niif/simplesamlphp-module-attributefromrestapi - 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. [API Development](/categories/api)
4. /
5. niif/simplesamlphp-module-attributefromrestapi

ActiveSimplesamlphp-module[API Development](/categories/api)

niif/simplesamlphp-module-attributefromrestapi
==============================================

Get attribute from any rest api

v1.0.0(10y ago)2161PHP

Since Oct 30Pushed 10y ago7 watchersCompare

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

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

Authproc filter for SSP to get any attribute from rest api
==========================================================

[](#authproc-filter-for-ssp-to-get-any-attribute-from-rest-api)

- Author: Gyula Szabó , NIIF Institute, Hungary

This module provides an authprocfilter, that get attributes from rest api in json format.

Install module
--------------

[](#install-module)

You can install the module with composer:

```
composer require niif/simplesamlphp-module-attributefromrestapi

```

### Authproc Filters

[](#authproc-filters)

The NameID of the request will be in the attribute as defined above. For example eduPersonPrincipalName. If this nameId is not in the users's attributes there will be shown an exception page, and the authentication process will be stopped.

*config/config.php*

```
   authproc.sp = array(
       ...
       '60' => array(
            'class' => 'attributefromrestapi:AttributeFromRestApi',
            'nameId_attribute_name' =>  'subject_nameid', // look at the aa authsource config
            'api_url' =>          'https://www.anyrestapi.com/getData',
       ),

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

3899d 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 (7 commits)")

### Embed Badge

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

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

###  Alternatives

[simplesamlphp/simplesamlphp

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

1.1k13.0M218](/packages/simplesamlphp-simplesamlphp)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k14](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5018.2k1](/packages/simplesamlphp-simplesamlphp-module-oidc)

PHPackages © 2026

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