PHPackages                             sgomez/simplesamlphp-base - 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. sgomez/simplesamlphp-base

AbandonedArchivedProject[Authentication &amp; Authorization](/categories/authentication)

sgomez/simplesamlphp-base
=========================

SimpleSAMLphp base installation project

1.14.3(9y ago)027MIT

Since Mar 22Pushed 9y agoCompare

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

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

SimpleSAMLphp basic installation project
========================================

[](#simplesamlphp-basic-installation-project)

This packages create a new SimpleSAMLphp installation based on its latest stable version.

Installation with Composer
--------------------------

[](#installation-with-composer)

Just run this to create a new installation:

```
composer.phar create-project sgomez/simplesamlphp-base simplesamlphp
```

Configuring simpleSAMLphp
-------------------------

[](#configuring-simplesamlphp)

Please, read the [official documentation](https://simplesamlphp.org/docs/stable/).

Requirements
------------

[](#requirements)

You need to configure the enviroment variable **SIMPLESAMLPHP\_CONFIG\_DIR** with the */config*directory path. If you don't do this, simpleSAMLphp will search the config directory inside */vendor*. Ex.:

```
SIMPLESAMLPHP_CONFIG_DIR=/var/simplesamlphp/config

```

You will find the usual template folders *config-templates* and *metadata-templates* as links to the original folders (inside vendors). Inside the *config* folder you can see a *config.php.dist* file. You should use this template to create your own *config.php* instead the one inside *config-template*. Basically this file its configured to search the metadata and other config files from the root installation path instead the vendor simpleSAMLphp installation. The changes you fill find are:

```
$config = array(
    //...
    'certdir' => __DIR__.'/../cert/',
    'loggingdir' => __DIR__.'/../var/log/',
    'datadir' => __DIR__.'/../var/data/',
    //...
    'metadata.sources' => array(
        array('type' => 'flatfile', 'directory' => __DIR__ . '/../metadata'),
    ),
    //...
);
```

Updating simpleSAMLphp
----------------------

[](#updating-simplesamlphp)

If a new version of simpleSAMLphp is released, all you need to do is this:

```
composer.phar update
```

You are free to install new simpleSAMLphp modules as usual without restore the *composer.json* before updating, because you are using it as a library.

Enable or disable modules
-------------------------

[](#enable-or-disable-modules)

Because you shouldn't touch the vendor directory to enable or disable the simpleSAMLphp modules, you must use the 'module.enable' option in `config.php`.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity66

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 ~11 days

Total

4

Last Release

3353d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1123372?v=4)[decano](/maintainers/decano)[@decano](https://github.com/decano)

---

Top Contributors

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

---

Tags

simplesamlphp

### Embed Badge

![Health badge](/badges/sgomez-simplesamlphp-base/health.svg)

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

###  Alternatives

[drupalauth/simplesamlphp-module-drupalauth

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

25323.4k1](/packages/drupalauth-simplesamlphp-module-drupalauth)[cirrusidentity/simplesamlphp-module-authoauth2

SSP Module for Oauth2 authentication sources

33106.2k](/packages/cirrusidentity-simplesamlphp-module-authoauth2)[simplesamlphp/simplesamlphp-module-webauthn

A PHP implementation of a FIDO2 / WebAuthn authentication agent

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

PHPackages © 2026

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