simplesamlphp/simplesamlphp-module-examplecomposer

There is no license information available for the latest version (v2.0.1) of this package.

An example SimpleSAMLphp module installable through Composer.

v2.0.1 2023-01-23 19:15 UTC

This package is auto-updated.

Last update: 2024-11-18 11:35:47 UTC


README

Build Status Coverage Status Scrutinizer Code Quality Type Coverage Psalm Level

Install

This package is an example of a SimpleSAMLphp module installable through Composer. Installation can be as easy as executing:

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

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 documentation for more information about creating modules installable through Composer.

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.