smtech / lti-configuration-xml
此包已被弃用,不再维护。未建议替代包。
从参数生成LTI配置XML文件
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
从参数生成LTI配置XML文件
安装
在您的composer.json
中包含
"require": { "smtech/lti-configuration-xml": "~1.0" }
使用
/* 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;