Registry / serialization / php-xapi-model

php-xapi-model

JSON →
library3.2.0phppackagistunverified

Experience API model classes

composer require php-xapi/model
INSTALL
IMPORT
SIG · PHP-XAPI-MODEL
P
php-xapi-model
serializationphpv3.2.0
harness data pending
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.

Upgrade
Version history
3.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
php-xapi-model — pip install php-xapi-model · libregistry