PHPackages                             irma/simplesamlphp-module-authirma - 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. irma/simplesamlphp-module-authirma

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

irma/simplesamlphp-module-authirma
==================================

Simplesamlphp module for IRMA authentication.

v1.1(9y ago)2493[1 PRs](https://github.com/privacybydesign/simplesamlphp-module-authirma/pulls)MITPHP

Since Jun 1Pushed 6y ago3 watchersCompare

[ Source](https://github.com/privacybydesign/simplesamlphp-module-authirma)[ Packagist](https://packagist.org/packages/irma/simplesamlphp-module-authirma)[ RSS](/packages/irma-simplesamlphp-module-authirma/feed)WikiDiscussions master Synced 4w ago

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

simplesamlphp-module-authirma
=============================

[](#simplesamlphp-module-authirma)

SimplesamlPHP module for IRMA authentication

Introduction
============

[](#introduction)

This module for simpleSAMLphp allows easy integration of IRMA authentication into an existing simpleSAMLphp setup. This document explains how to install the simpleSAMLphp module and how to configure it.

We are going to assume you have a working simpleSAMLphp installation. If you don't, refer to the [documentation](https://simplesamlphp.org/docs/stable/simplesamlphp-install)of simpleSAMLphp itself.

Installing the module and required libraries
============================================

[](#installing-the-module-and-required-libraries)

Install using composer
----------------------

[](#install-using-composer)

To install in simplesamlphp, use the composer-based [simplesamlphp module installer](https://github.com/simplesamlphp/composer-module-installer)

```
composer require irma/simplesamlphp-module-authirma

```

Manual install
--------------

[](#manual-install)

Download the [latest version](https://github.com/credentials/simplesamlphp-module-authirma/releases/latest) of the simpleSAMLphp IRMA module.

Install the module in the `modules/` directory of your simpleSAMLphp setup (or symlink it if you want to keep the directory structure clean). The module is enabled by default: no need for a 'touch enable' inside the module directory.

Note that authirma depends on [php-jwt](https://github.com/firebase/php-jwt) for encoding and decoding JSON Web Tokens (JWT). Install using composer:

```
composer require firebase/php-jwt

```

Configuration
=============

[](#configuration)

See docs `/docs/authirma.md` for configuration instructions.

Quickstart
==========

[](#quickstart)

Install simplesamlphp

```
git clone https://github.com/simplesamlphp/simplesamlphp.git
cd simplesamlphp/

```

Install the IRMA authentication module

```
composer require irma/simplesamlphp-module-authirma

```

Copy sample configuration files

```
cp config-templates/config.php config-templates/authsources.php config

```

Edit `config/config.php` to change the following:

```
'baseurlpath' => '',

```

Edit `config/authsources.php` and add an authentication source named `irma` of type `authirma:IRMA`. See `docs/authirma`.

Create a directory for storing certificates and keys:

```
mkdir -p cert

```

Put the private key for signing JWT requests and the certificate with the public key of the API server in the `cert` directory.

Start a PHP web server:

```
php -S 0:8080 -t www

```

Point your browser to

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

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

Every ~21 days

Total

2

Last Release

3296d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c9ad31fd6d5954081583311aea33382ff580afb8abf50368b77cef687bd5736?d=identicon)[sringers](/maintainers/sringers)

---

Top Contributors

[![sietseringers](https://avatars.githubusercontent.com/u/979897?v=4)](https://github.com/sietseringers "sietseringers (12 commits)")

### Embed Badge

![Health badge](/badges/irma-simplesamlphp-module-authirma/health.svg)

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

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k286.7M214](/packages/google-auth)[simplesamlphp/simplesamlphp

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

1.1k13.0M214](/packages/simplesamlphp-simplesamlphp)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

25310.7M73](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2306.4M37](/packages/stevenmaguire-oauth2-keycloak)[robsontenorio/laravel-keycloak-guard

🔑 Simple Keycloak Guard for Laravel

5181.2M3](/packages/robsontenorio-laravel-keycloak-guard)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)

PHPackages © 2026

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