dev-master
9999999-devAn example SimpleSAMLphp module installable through Composer.
The Requires
v1.0.0
1.0.0.0An example SimpleSAMLphp module installable through Composer.
The Requires
An example SimpleSAMLphp module installable through Composer.
This package is an example of a SimpleSAMLphp module installable through Composer. Installation can be as easy as executing:, (*2)
vendor/bin/composer require simplesamlphp/simplesamlphp-module-examplecomposer
Next thing you need to do is to enable the module:, (*3)
in config.php
, search for the module.enable
key and set examplecomposer
to true:, (*4)
'module.enable' => [ 'examplecomposer' => true, … ],
You can access the hello-world script at: /simplesaml/module.php/examplecomposer/helloworld
, (*5)
See the SimpleSAMLphp Composer module installer documentation for more information about creating modules installable through Composer., (*6)
This module consists of the following files:, (*7)
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.An example SimpleSAMLphp module installable through Composer.
An example SimpleSAMLphp module installable through Composer.