PHPackages                             oat-sa/extension-tao-lti - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. oat-sa/extension-tao-lti

ActiveTao-extension[API Development](/categories/api)

oat-sa/extension-tao-lti
========================

extension to manage LTI services for TAO

v19.1.1(2mo ago)488.0k—0%411GPL-2.0-onlyPHPPHP ~8CI failing

Since Nov 21Pushed 2mo ago42 watchersCompare

[ Source](https://github.com/oat-sa/extension-tao-lti)[ Packagist](https://packagist.org/packages/oat-sa/extension-tao-lti)[ Docs](http://www.taotesting.com)[ RSS](/packages/oat-sa-extension-tao-lti/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (206)Used By (11)

TAO *taoLti* extension
======================

[](#tao-taolti-extension)

[![TAO Logo](https://github.com/oat-sa/taohub-developer-guide/raw/master/resources/tao-logo.png)](https://github.com/oat-sa/taohub-developer-guide/raw/master/resources/tao-logo.png)

[![GitHub](https://camo.githubusercontent.com/7cd7af5a3e9c88fc515bee93d7fff72550598702e8eabc283fab15790296cac4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f61742d73612f657874656e73696f6e2d74616f2d6c74692e737667)](https://camo.githubusercontent.com/7cd7af5a3e9c88fc515bee93d7fff72550598702e8eabc283fab15790296cac4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f61742d73612f657874656e73696f6e2d74616f2d6c74692e737667)[![GitHub release](https://camo.githubusercontent.com/be974f9957cce765a5309415482db2954563e60a7ec99702a7c4f4e89a77523d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6f61742d73612f657874656e73696f6e2d74616f2d6c74692e737667)](https://camo.githubusercontent.com/be974f9957cce765a5309415482db2954563e60a7ec99702a7c4f4e89a77523d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6f61742d73612f657874656e73696f6e2d74616f2d6c74692e737667)[![GitHub commit activity](https://camo.githubusercontent.com/4b92ffb475f70a03054462f48cbaf71267ce437fed46b521f36a05b6a7ae6a4b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f792f6f61742d73612f657874656e73696f6e2d74616f2d6c74692e737667)](https://camo.githubusercontent.com/4b92ffb475f70a03054462f48cbaf71267ce437fed46b521f36a05b6a7ae6a4b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f792f6f61742d73612f657874656e73696f6e2d74616f2d6c74692e737667)[![codecov](https://camo.githubusercontent.com/fc7869a6b37abfbfe1f5a1b019e47f56eca104899fcc9ce0300a1f6dc2bc377e/68747470733a2f2f636f6465636f762e696f2f67682f6f61742d73612f657874656e73696f6e2d74616f2d6c74692f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/oat-sa/extension-tao-lti)

> Extension to manage LTI services for TAO

Installation instructions
-------------------------

[](#installation-instructions)

These instructions assume that you have already a TAO installation on your system. If you don't, go to [package/tao](https://github.com/oat-sa/package-tao) and follow the installation instructions.

If you installed your TAO instance through [package/tao](https://github.com/oat-sa/package-tao), `oat-sa/extension-tao-lti` is very likely already installed. You can verify this under *Settings -&gt; Extension manager*, where it would appear on the left hand side as `taoLti`. Alternatively you would find it in the code at `/config/generis/installation.conf.php`.

*Note, that you have to be logged in as System Administrator to do this.*

Add the extension to your TAO composer and to the autoloader:

```
composer require oat-sa/extension-tao-lti
```

Install the extension on the CLI from the project root:

**Linux:**

```
sudo php tao/scripts/installExtension oat-sa/extension-tao-lti
```

**Windows:**

```
php tao\scripts\installExtension oat-sa/extension-tao-lti
```

As a system administrator you can also install it through the TAO Extension Manager:

- Settings (the gears on the right hand side of the menu) -&gt; Extension manager
- Select *taoLti* on the right hand side, check the box and hit *install*

REST API
--------

[](#rest-api)

[Lti REST API](https://openapi.taotesting.com/viewer/?url=https://raw.githubusercontent.com/oat-sa/extension-tao-lti/master/doc/rest.json)

Configuration options
---------------------

[](#configuration-options)

### [ServiceOptions.conf.php](../config/generis/ServiceOptions.conf.php)

[](#serviceoptionsconfphp)

*Description:* this specifies LTI client configuration.

If the configuration file is not present as [`../config/generis/ServiceOptions.conf.php`](../config/generis/ServiceOptions.conf.php), create it by copying from [`../generis/config/default/ServiceOptions.conf.php`](../generis/config/default/ServiceOptions.conf.php).

**Example**

```
