I was recently asked for some clear step by step instructions for somebody new to xAPI wanting to get stuck into TinCanPHP. I'd originally provided some links to helpful sections of experienceapi.com for them to explore (including the section on recipes) but they wanted more direct guidance. Here's the guidance I gave:
- Register a free SCORM Cloud account
- Follow the How to start using the xAPI instructions here, including watching the screencast that tells you how to get your lrs credentials. key=username/login; secret=password.
- Download and spend some time (don't skip this important learning step) playing with the JavaScript prototypes to understand how xAPI works and how the JavaScript library works; the PHP library follows a similar pattern here.
- Follow the installation instructions to include TinCanPHP in your project here.
- Try the Basic Usage examples here
Once you've got that technically working and can see the data in SCORM Cloud, you should then take a step back and do some design thinking around what data you want to send. As you're on a short time scale, the most straightforward option for a quiz application would be to replicate the data sent by the Golf prototype. This blog about the latest version of the prototypes may also be helpful.