2017 © Pedro PelĂĄez
 

project simplesamlphp-base

SimpleSAMLphp base installation project

image

sgomez/simplesamlphp-base

SimpleSAMLphp base installation project

  • Tuesday, April 25, 2017
  • by decano
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

SimpleSAMLphp basic installation project

This packages create a new SimpleSAMLphp installation based on its latest stable version., (*1)

Installation with Composer

Just run this to create a new installation:, (*2)

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

Configuring simpleSAMLphp

Please, read the official documentation., (*3)

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.:, (*4)

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:, (*5)

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

Updating simpleSAMLphp

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

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., (*7)

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., (*8)

The Versions

25/04 2017
22/03 2017

1.14.1

1.14.1.0

SimpleSAMLphp base installation project

  Sources   Download

LGPL-2.1

The Requires

 

22/03 2017

1.14.0

1.14.0.0

SimpleSAMLphp base installation project

  Sources   Download

LGPL-2.1

The Requires