smtech / lti-configuration-xml
Generate an LTI configuration XML file from parameters
Installs: 121
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
pkg:composer/smtech/lti-configuration-xml
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;