Statements Validation


Introduction

Usually, incoming statements are validated by the Statement API in order to ensure that all the statements recorded in your LRS are xAPI conformant.

However, there are some situations where the validation process is bypassed:

  • When the DISABLE_STATEMENTS_VALIDATION option is used to improve performances
  • When you import statements from a file
  • When you pull statements from an external LRS

Commands

Validate statements

You can use the following command to validate the statements of your LRS, all stores included. Only the statements that were not still validated will be checked.

php artisan statements:validate
Option Description
--clear Remove the invalid statements from the database.
--retry Retry to validate invalid statements.

Show the validation status

php artisan statements:validate-status