This set of PHP classes encapsulates the code required by an LTI compliant tool provider to communicate with an LTI tool consumer. It includes support for LTI 1.1 and the unofficial extensions to Basic LTI, as well as the registration process and services of LTI 1.2/2.0. Support has also been added for the Names and Role Provisioning service and the Result and Score services where these are supported using the OAuth 1 security model (support for the new security model in LTI 1.3 will be in a forthcoming update). These classes are designed as an update to the LTI Tool Provider class library (http://www.spvsoftwareproducts.com/php/lti_tool_provider/) and a replacement for the library at https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP which is no longer supported.
Whilst supporting LTI is relatively simple, the benefits to using a class library like this one are:
The GitHub repository provides access to the source files and documentation. The example Rating LTI application is based on this library to further illustrate how it can be used.