smtech / lti-configuration-xml
This package is abandoned and no longer maintained.
No replacement package was suggested.
Generate an LTI configuration XML file from parameters
v1.0.1
2016-07-26 18:38 UTC
Requires
- myclabs/php-enum: ~1.0
This package is auto-updated.
Last update: 2023-05-25 12:43:25 UTC
README
Generate an LTI configuration XML file from parameters
Install
Include in your composer.json
:
"require": { "smtech/lti-configuration-xml": "~1.0" }
Use
/* display a simple configuration */ $config = new \smtech\LTI\Configuration\Generator( 'My Spiffy Tool', 'my-spiffy-tool', 'https://example.com/my-spiffy-tool/launch.php' ); header('Content-type: application/xml'); echo $config->saveXML(); exit;