Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

HarvardChanSchool/canvas-lti-php-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

canvas-php-lti-boilerplate

This boilerplate is intented to jumpstart the development of PHP LTI apps for the Canvas LMS.

Install

  1. git clone this repo
  2. edit local-setings.php and gitignore it.
  3. finally generate a config.xml file from here and place it somewhere in your app root folder.
  4. All set! Ready to code!

Documentation

There is currently no documentation available however the code is quite minimal and fairly well commented so it should not be an issue.

Recommendations

  • to befenefit from potential easy future updates you should probably not edit inc/lti-client.php directly but extend it instead. Same thing goes for inc/toolkit.php
  • if your app logic is small you can probably leave it in index.php between display_header and display_footer

Contributing

  • Bug: Please open issues on Github. Push Requests are welcome too.
  • New features and improvements: You are welcome to contribute however keep in mind this is a boilerplate and it should remain very high level and as generic as possible. Also please open an issue with the tag enhancement explaining what you are planning to do and link your Push Request with this issue.

About

Testing LTI app integration in canvas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published