Download the PHP package smtech/reflexive-canvas-lti without Composer

On this page you can find all versions of the php package smtech/reflexive-canvas-lti. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package reflexive-canvas-lti

ReflexiveCanvasLTI

Latest Version Scrutinizer Code Quality

Abandoned

This project has not been actively maintained since the spring of 2017, when Seth Battis changed roles and was no longer working in a Canvas (or other LTI-capable) environment. Other interested developers are welcome to take up the torch, if interested.

Meanwhile, I observe that Steven Vickers has released an updated version of his PHP LTI Tool Provider that can serve as a base for further LTI development using PHP.

About

LTI tool provider class that includes the \"reflexive\" reach back into Canvas via the API.

Full documentation in repository.

This is one of two packages that are meant to facilitate and accelerate LTI development in PHP, allowing for built-in "reflexive" access to the Canvas APIs from the LTI Tool Provider.

  1. This package, smtech/reflexive-canvas-lti is the "plain vanilla" version. That is: it's pure object-oriented goodness with no GUI to add any idiosyncratic flavoring to the process. That makes it a touch more limited, but also (one hopes) more reusable in the grand scheme of things.
  2. The other package, smtech/stmarks-reflexive-canvas-lti provides a bunch of handy GUI add-ons, including Smarty templating (via smtech/stmarkssmarty, the St. Mark's-styled extension of my generic battis/bootstrapsmarty package that provides easy access to Bootstrap within Smarty templates). Additionally, this package, as it provides a GUI inherently, also provides some handy interactive control panels:

How to choose?

It comes down to whether you like building web pages the way I like building web pages (striving for real Model-View-Controller separation, to make my code easier to read/understand), or if you have another paradigm that you prefer. If you like my way, I would recommend extending smtech/stmarks-reflexive-canvas-lti to including branding appropriate for your own institution and using that. If not, or if you are trying to avoid GUI-entanglements, this "plain vanilla" package fits the bill.

Sample code

In the examples directory you will find two example tool providers:

  1. tool-provider shows an example of an LTI Tool Provider constructed with the "plain vanilla" package (this one).
  2. stmarks-tool-provider shows the same example, tweaked to use smtech/stmarks-reflexive-canvas-lti instead -- which I think is cleaner, easier and simpler. But I'm biased.

Composer Fiddly-bits

Nota bene: Because Stephen Vickers hasn't yet published his LTI_Tool_Provider via Composer, I think the best way to incorporate his code is to replicate the following within your own composer.json file. (That way, when smtech/reflexive-canvas-lti depends on spvsoftwareproducts/LTI_Tool_Provider, Composer will know what we're all taking about.)

Also: to download the spvsoftwareproducts/LTI_Tool_Provider package from its central repository, you have to allow non-HTTPS downloads, which is a bit of a security hole. Not the end of the world, but not Best Practices, either.

And also:


All versions of reflexive-canvas-lti with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
spvsoftwareproducts/lti_tool_provider Version ~2.5
smtech/canvaspest Version ~1.0
smtech/lti-configuration-xml Version ~1.0
battis/appmetadata Version ~1.0
battis/configxml Version ~1.0
battis/data-utilities Version ~0.1.3
myclabs/php-enum Version ~1.0
pear/log Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package smtech/reflexive-canvas-lti contains the following files

Loading the files please wait ....