Skip to content

Enables SimpleSamlPHP MultiVersion behavior. Easily configures multi domains on one codebase.

Notifications You must be signed in to change notification settings

YOUR1/simplesamlphp-multiversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleSamlPHP MultiVersion

This composer package enables to have multiple configurations on the same SimpleSamlPHP codebase.

How to install

  • Require this package into your SimpleSamlPHP root
  • Copy sample_conf/ to config/ directory.
  • Create your configuration.
    • You can use tests/data/conf as a template.
    • Rename conf to match the SAML_DOMAIN environment variable
  • Set environment the SAML_ENV and SAML_DOMAIN in your webserver
    • Please note; if you are using the cron module; make sure you set the environment variables before running the actual command.
    • E.g.: SAML_ENV=test SAML_DOMAIN=domain php modules/cron/bin/cron.php -t hourly

Running tests

Running library tests can be done through composer by running composer test-multiversion

Todo

Support more modules to be configured through YAML

Contribute

Feel free to contribute to this project by using pull-requests.

About

Enables SimpleSamlPHP MultiVersion behavior. Easily configures multi domains on one codebase.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages