PHPackages                             swisscom/simplesamlserviceprovider - 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. swisscom/simplesamlserviceprovider

ActiveNeos-package[Authentication &amp; Authorization](/categories/authentication)

swisscom/simplesamlserviceprovider
==================================

Neos Flow package containing a SAML service provider based on SimpleSAMLphp.

3.0.0(11mo ago)33.9k4MITPHP

Since Sep 18Pushed 11mo ago5 watchersCompare

[ Source](https://github.com/onivaevents/Swisscom.SimpleSamlServiceProvider)[ Packagist](https://packagist.org/packages/swisscom/simplesamlserviceprovider)[ RSS](/packages/swisscom-simplesamlserviceprovider/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (2)Versions (10)Used By (0)

Swisscom.SimpleSamlServiceProvider
==================================

[](#swisscomsimplesamlserviceprovider)

[Neos Flow](https://flow.neos.io/) SAML authentication package containing a SAML service provider based on [SimpleSAMLphp](https://simplesamlphp.org).

Installation
------------

[](#installation)

Cf:

Install this package via composer. It will add [simplesamlphp/simplesamlphp](https://github.com/simplesamlphp/simplesamlphp) as dependency.

Think as the simplesamlphp installation as an application inside your Flow application. Therefore, have a look at [Installing SimpleSAMLphp in alternative locations](https://simplesamlphp.org/docs/2.4/simplesamlphp-install.html#appendix-installing-simplesamlphp-in-alternative-locations)

### Apache

[](#apache)

1. Create symlink `Web/simplesamlphp -> ../Packages/Libraries/simplesamlphp/simplesamlphp/public`
2. Patch the Apache .htaccess configuration to not rewrite simplesamlphp and set the `SIMPLESAMLPHP_CONFIG_DIR` environment var. There is apatch for you: [htaccess.patch](Resources/Private/Scripts/htaccess.patch)

### Nginx

[](#nginx)

For Nginx you we don't need a symlink.

1. Use the configuration from here: [Configuring Nginx](https://simplesamlphp.org/docs/2.4/simplesamlphp-install.html#configuring-nginx)
2. Adapt the alias to the absolut path of your installation.

As a starting point for the coinfiguration, copy the example structure to the `SIMPLESAMLPHP_CONFIG_DIR` under `Configuration/SimpleSamlPhp/`

Sample setup
------------

[](#sample-setup)

As a sample and for test purposes, the serverless SAML identity provider [Samling](https://fujifish.github.io/samling/samling.html)can be configured most basically as follows:

```
mkdir Configuration/SimpleSamlPhp/metadata
cp Packages/Libraries/simplesamlphp/simplesamlphp/metadata/saml20-idp-remote.php.dist Configuration/SimpleSamlPhp/metadata/saml20-idp-remote.php

```

Add the following metadata config to `Configuration/SimpleSamlPhp/metadata/saml20-idp-remote.php`:

```
$metadata['https://fujifish.github.io/samling/samling.html'] = array(
    /* Configuration options for the first IdP. */
    'SingleSignOnService' => [
        [
            'Location' => 'https://fujifish.github.io/samling/samling.html',
            'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
        ],
    ],
    'certificate' => 'samling.pub'
);

```

The certificate is copied from `https://fujifish.github.io/samling/samling.html` to the cert folder (see `certdir` in config.php).

Integration
-----------

[](#integration)

Have a look into the package's `Configuration/Settings.yaml` and configure the entry points if needed.

The following setting has to match the authentication source configured in the SimpleSAMLphp `authsources.php` config file:

```
Swisscom:
  SimpleSamlServiceProvider:
    authSource: 'default-sp'

```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance50

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 97.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 ~345 days

Recently: every ~496 days

Total

7

Last Release

355d ago

Major Versions

1.1.1 → 2.0.02022-02-04

2.0.1 → 3.0.02025-05-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/046c3b571b3c6a71006fd4801b46a8f827719302072db50114959ccd8f71821d?d=identicon)[oniva](/maintainers/oniva)

---

Top Contributors

[![simstern](https://avatars.githubusercontent.com/u/2580285?v=4)](https://github.com/simstern "simstern (43 commits)")[![booooza](https://avatars.githubusercontent.com/u/18515653?v=4)](https://github.com/booooza "booooza (1 commits)")

---

Tags

neos-flowsaml-authenticationsimplesamlphpAuthenticationsamlflowNeossimplesamlphp

### Embed Badge

![Health badge](/badges/swisscom-simplesamlserviceprovider/health.svg)

```
[![Health](https://phpackages.com/badges/swisscom-simplesamlserviceprovider/health.svg)](https://phpackages.com/packages/swisscom-simplesamlserviceprovider)
```

###  Alternatives

[drupalauth/simplesamlphp-module-drupalauth

A SimpleSAMLphp module adding support for Drupal as the authentication source.

25305.4k1](/packages/drupalauth-simplesamlphp-module-drupalauth)[hslavich/simplesamlphp-bundle

SimpleSAMLphp Bundle for Symfony

22199.9k](/packages/hslavich-simplesamlphp-bundle)[sandstorm/usermanagement

Neos and Flow package for user management, login/logout, password reset and user activation

3828.4k](/packages/sandstorm-usermanagement)[casdoor/casdoor-php-sdk

PHP client SDK for Casdoor

2219.3k](/packages/casdoor-casdoor-php-sdk)[pdias/saml-bundle

The SamlBundle adds support for SAML 2.0 Service Provider in Symfony.

1626.3k](/packages/pdias-saml-bundle)

PHPackages © 2026

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