tsugiproject / tsugi

Tsugi Admin, Developer, and Management Console (pls join the dev list)
http://www.tsugi.org
Apache License 2.0
346 stars 257 forks source link

Add XAPI support to Tsugi #131

Open csev opened 3 years ago

csev commented 3 years ago

Tsugi already has support for streaming Caliper events to an LRS - we should add XAPI - I need a good / solid PHP library so we don't write everything from scratch.

All the libraries I can find seem moribund or weird. How does Moodle talk XAPI?

https://github.com/RusticiSoftware/TinCanPHP https://github.com/php-xapi/model

torinfo commented 3 years ago

As far as I now there is a ongoing project to get native support into Moodle. Don't know much about that. Then there is the xAPI logstore plugin that translates log events to xAPI statements. That was created by HT2Labs, the creators of Learninglocker.

That plugin uses https://github.com/LearningLocker/StatementFactory

Xerte creates xAPI statements in Javascript, so does not use a php library.

csev commented 3 years ago

Thanks Tom - this is not had a lot of recent work - but if the spec is stable - that is not a bad indication. For the library you use in Xerte - it is pretty stable (i.e. not a lot of recent work)?