How trax-project/trax3-starter-lrs works
TRAX LRS Starter is a Laravel-hosted xAPI Learning Record Store focused on accepting and managing learning records, rather than analytics. The documented workflow is an xAPI client authenticating to the gateway, then storing and managing records. Configuration shows distinct data areas for statements, agents, profiles, states, and vocabulary; the README also documents a default endpoint and credentials. The core gateway implementation is supplied by the external trax3/core dependency, so its internal processing and storage calls cannot be verified from the sampled repository files.
Main entry points: trax.php xAPI gateway · index.php HTTP entry · app.php Laravel bootstrap · auth.php Authentication config
Components 13
Request runtime
- HTTP entry
public/index.php - Laravel bootstrap
bootstrap/app.php - TRAX framework
bootstrap/providers.php
LRS capabilities
- xAPI gateway
config/trax.php - Statements
config/database.php - Agents
config/database.php - Profiles and states
config/database.php - Vocabulary
config/database.php - LRS logging
config/database.php
Identity and interface
- User model
app/Models/User.php - Authentication config
config/auth.php - Welcome interface
resources/views/welcome.blade.php
Other components
- xAPI client
Connections 10
- xAPI client → HTTP entry: sends requests
README.md - HTTP entry → Laravel bootstrap: boots application
public/index.php - Laravel bootstrap → TRAX framework: loads providers
bootstrap/providers.php - xAPI client → xAPI gateway: uses xAPI endpoint
README.md - xAPI gateway → Statements: stores statements
- xAPI gateway → Agents: manages agents
- xAPI gateway → Profiles and states: manages profiles
- xAPI gateway → Vocabulary: uses vocabulary
- xAPI gateway → LRS logging: records activity
- Authentication config → User model: configures provider
config/auth.php