Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Statement
✓ use XApi\Model\Statement;
Create and manipulate an xAPI Statement object.
use XApi\Model\Statement;
$statement = new Statement();
$statement->setActor(['mbox' => 'mailto:test@example.com']);
$statement->setVerb(['id' => 'http://adlnet.gov/expapi/verbs/completed']);
$statement->setObject(['id' => 'http://example.com/activity']);
echo json_encode($statement);
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.