LTI-Tool-Provider-Library-PHP tutorial and documentation

LTI-Tool-Provider-Library-PHP tutorial and documentation

by Adrian Cheung -
Number of replies: 2

Does anyone know there is any further tutorial and documentation for the LTI library https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/ recommended by IMS Global, which seems to be only LTI 2.0 library so far? I tried a lot to register a tool on the moodle (moodle as tool consumer) and found out that some sort of product info (name, description) is required in the tool proxy profile. I cannot find whether this is a requirement of moodle or LTI standard. The wiki of the library seems too simple and lots of things left unexplained.

Average of ratings: -
In reply to Adrian Cheung

回應: LTI-Tool-Provider-Library-PHP tutorial and documentation

by Adrian Cheung -

I also got the following js error in the External tool registration result page, no matter registration is success or not:

Uncaught TypeError: window.parent.triggerExternalRegistrationComplete is not a function
    at Object.init (first.js:87)
    at externalregistrationreturn.php?id=21&sesskey=fhTwJKfhoD&lti_errormsg=Sorry%2C+there+was+an+error+co…:147
    at Object.execCb (require.min.js:1)
    at b.check (require.min.js:1)
    at b.enable (require.min.js:1)
    at b.init (require.min.js:1)
    at require.min.js:1

In reply to Adrian Cheung

Re: LTI-Tool-Provider-Library-PHP tutorial and documentation

by John Okely -

The IMS forums would be a better place to ask about that. This is outside the scope of moodle.

Yes it is LTI 2.0, however by manually creating the Consumer in the database you can use it with a consumer that only supports 1.0

As for finding out what's required and what isn't I'd go to https://www.imsglobal.org/specs/ltiv2p0/implementation-guide or other documents on the IMS site