smtech/lti-configuration-xml

此包已被弃用,不再维护。未建议替代包。

从参数生成LTI配置XML文件

v1.0.1 2016-07-26 18:38 UTC

This package is auto-updated.

Last update: 2023-05-25 12:43:25 UTC


README

Latest Version

从参数生成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;

文档包含在仓库中。