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

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

simplesamlphp/simplesamlphp-module-examplecomposer
==================================================

An example SimpleSAMLphp module installable through Composer.

v2.1.1(1mo ago)03712LGPL-2.1-or-laterPHPPHP ^8.3CI passing

Since Feb 24Pushed 1mo ago4 watchersCompare

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

READMEChangelogDependencies (3)Versions (9)Used By (0)

SimpleSAMLphp Composer module example
=====================================

[](#simplesamlphp-composer-module-example)

[![Build Status](https://github.com/simplesamlphp/simplesamlphp-module-examplecomposer/actions/workflows/php.yml/badge.svg)](https://github.com/simplesamlphp/simplesamlphp-module-examplecomposer/actions/workflows/php.yml/badge.svg)[![Coverage Status](https://camo.githubusercontent.com/ef0db5759bf083b67c9620c9b38d432dce80617aee87d97ae4014782f4d2c600/68747470733a2f2f636f6465636f762e696f2f67682f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d6578616d706c65636f6d706f7365722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/simplesamlphp/simplesamlphp-module-examplecomposer)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/750acae24c792064491c71fe4a75183b9e3f21e27992fcf59fa9663671c6506c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d6578616d706c65636f6d706f7365722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/simplesamlphp/simplesamlphp-module-examplecomposer/?branch=master)[![Type Coverage](https://camo.githubusercontent.com/fc823910a1f1601cfd7fe3644556421b2f1fedb06acb8e0d77fcb491a8a9f2b2/68747470733a2f2f73686570686572642e6465762f6769746875622f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d6578616d706c65636f6d706f7365722f636f7665726167652e737667)](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-examplecomposer)[![Psalm Level](https://camo.githubusercontent.com/d6662c083ba91cc0b48ec237ea72517b9065d43c00ae9bc6a42a57b21f06efe0/68747470733a2f2f73686570686572642e6465762f6769746875622f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d6578616d706c65636f6d706f7365722f6c6576656c2e737667)](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-examplecomposer)

Install
-------

[](#install)

This package is an example of a SimpleSAMLphp module installable through [Composer](https://getcomposer.org/). Installation can be as easy as executing:

```
vendor/bin/composer require simplesamlphp/simplesamlphp-module-examplecomposer
```

Configuration
-------------

[](#configuration)

Next thing you need to do is to enable the module:

in `config.php`, search for the `module.enable` key and set `examplecomposer` to true:

```
'module.enable' => [ 'examplecomposer' => true, … ],
```

You can access the hello-world script at: `/simplesaml/module.php/examplecomposer/helloworld`

See the [SimpleSAMLphp Composer module installer](https://github.com/simplesamlphp/composer-module-installer)documentation for more information about creating modules installable through Composer.

Relevant files
--------------

[](#relevant-files)

This module consists of the following files:

- `composer.json`: The composer configuration file for this module.
- `README.md`: This document describing the module.
- `src/Controller/ExampleController.php`: Controller outputting `Hello World!` when executed.

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance89

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 83% 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 ~880 days

Recently: every ~381 days

Total

6

Last Release

56d ago

Major Versions

v1.0.1 → v2.0.02023-01-08

PHP version history (2 changes)v2.0.0PHP &gt;=7.4 || ^8.0

v2.1.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/579a16ea8afccc6ab420c393f0e573296fe46dcd293aa4f3b71eefc158ebf3e4?d=identicon)[jaime](/maintainers/jaime)

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

![](https://www.gravatar.com/avatar/9221e348303eeda74e85236a8bff9b919a90d10e3a478fe1cbb9d833f68d0150?d=identicon)[thijskh](/maintainers/thijskh)

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

---

Top Contributors

[![tvdijen](https://avatars.githubusercontent.com/u/841045?v=4)](https://github.com/tvdijen "tvdijen (88 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (17 commits)")[![olavmo-sikt](https://avatars.githubusercontent.com/u/98447575?v=4)](https://github.com/olavmo-sikt "olavmo-sikt (1 commits)")

### Embed Badge

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

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

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[simplesamlphp/simplesamlphp

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

1.1k12.4M192](/packages/simplesamlphp-simplesamlphp)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[simplesamlphp/simplesamlphp-module-webauthn

A PHP implementation of a FIDO2 / WebAuthn authentication agent

181.4k](/packages/simplesamlphp-simplesamlphp-module-webauthn)

PHPackages © 2026

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