rusticisoftware/tincan
PHP library for implementing the Experience API (Tin Can/xAPI). Provides tools to build and send statements, integrate with an LRS, and work with xAPI data. Install via Composer, includes PHPUnit tests and phpDocumentor docs generation.
xapi-rust or Node’s xapi-client).*"This package lets us instantly add xAPI tracking to our Laravel platform without building a custom client—saving 6–12 months of dev time and reducing risk. It’s the industry standard for learning analytics, used by Fortune 500 training programs and edtech leaders. By integrating it, we can:
*"TinCanPHP is the most mature PHP xAPI client—it handles all the gnarly spec details (serialization, versioning, attachments, signing) so we don’t have to. Here’s why it’s a no-brainer:
composer require rusticisoftware/tincan).withAgent(), withResult()).agent, verb, since) for analytics dashboards.$statement->asVersion()—critical for testing or legacy LRS.
Tradeoff: It’s client-only (no LRS server), and the last release was 2019—but the code is stable, well-tested (90%+ coverage), and the spec hasn’t changed drastically. We can extend it for our needs (e.g., custom headers) without forking."**"This package lets us track learning interactions (e.g., quiz answers, video progress, simulation events) in a standardized way, so:
Statement with Agent (user), Activity (course), and Result (score).How can I help you explore Laravel packages today?