RusticiSoftware / TinCanPHP

PHP library for the Experience API (Tin Can API)
http://rusticisoftware.github.io/TinCanPHP/
Apache License 2.0
87 stars 79 forks source link

Added support for file URL attachments #99

Closed reedmclean closed 6 years ago

reedmclean commented 6 years ago

Right now, we will choke on any attachments that are just a file URL and not actual contents of the file being referenced. Changed the look-up for the hash to be a little more careful instead of assuming that an attachment with that hash will exist.

Getting this to run required a bit of catch up, since no one has touched this repo is a couple years. The first commit is just some small stuff like specifying a specific version of phpunit (one which is no longer supported, but that's a different PR), updating the versions of xAPI we support, updated phpunit.xml, etc.

reedmclean commented 6 years ago

Forgot to fork this repo before making a new branch/PR. Will close this and open a new PR once I've done that.