simplesamlphp / simplesamlphp-module-examplecomposer
An example SimpleSAMLphp module installable through Composer.
Installs: 302
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 2
Open Issues: 0
Type:simplesamlphp-module
Requires
- php: >=7.4 || ^8.0
- simplesamlphp/composer-module-installer: ~1.3.2
Requires (Dev)
- simplesamlphp/simplesamlphp: ^2.0.0-rc2
- simplesamlphp/simplesamlphp-test-framework: ^1.2.1
This package is auto-updated.
Last update: 2024-12-18 11:52:46 UTC
README
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 outputtingHello World!
when executed.