Commands Cheat Sheet


Admin Accounts

Command Description
php artisan admin:create Create a new admin account
php artisan admin:delete Delete an existing admin account
php artisan admin:list List the existing admin accounts
php artisan admin:update Update an existing admin account

Further details on users & roles.

Statements

Command Description
php artisan statements:clear Delete the statements from the LRS
php artisan statements:elastic-push Push the statements to an Elasticsearch server
php artisan statements:elastic-push-status Display the Elasticsearch pushing status
php artisan statements:file-export Export statements to a file
php artisan statements:file-export-status Display the export status
php artisan statements:file-import Import statements from a file
php artisan statements:file-import-status Display the import status
php artisan statements:lrs-push Push the statements to an LRS
php artisan statements:lrs-push-status Display the LRS pushing status
php artisan statements:lrs-pull Pull the statements from an LRS
php artisan statements:lrs-pull-status Display the LRS pulling status
php artisan statements:seed Generate fake statements
php artisan statements:validate Validate the statements of the LRS
php artisan statements:validate-status Display the statements validation status

Further details on file connector, LRS connector, Elasticsearch connector, statements validation data deletion and Redis cache.

Activities

Command Description
php artisan activities:cache Cache the activities with Redis
php artisan activities:clear Remove the activities from the LRS
php artisan activities:elastic-push Push the activities to an Elasticsearch server
php artisan activities:elastic-push-status Display the Elasticsearch pushing status
php artisan activities:seed Generate fake activities

Further details on Elasticsearch connector and Redis cache.

Agents

Command Description
php artisan agents:cache Cache the agents with Redis
php artisan agents:clear Remove the agents from the LRS
php artisan agents:cleanup Remove the soft deleted agents and related data
php artisan agents:elastic-push Push the agents to an Elasticsearch server
php artisan agents:elastic-push-status Display the Elasticsearch pushing status
php artisan agents:seed Generate fake agents

Further details on Elasticsearch connector and Redis cache.

Activity Profiles

Command Description
php artisan activity-profiles:clear Remove the activity profiles from the LRS
php artisan activity-profiles:elastic-push Push the activity profiles to an Elasticsearch server
php artisan activity-profiles:elastic-push-status Display the Elasticsearch pushing status
php artisan activity-profiles:seed Generate fake activity profiles

Further details on Elasticsearch connector and Redis cache.

Agent Profiles

Command Description
php artisan agent-profiles:clear Remove the agent profiles from the LRS
php artisan agent-profiles:elastic-push Push the agent profiles to an Elasticsearch server
php artisan agent-profiles:elastic-push-status Display the Elasticsearch pushing status
php artisan agent-profiles:seed Generate fake agent profiles

Further details on Elasticsearch connector and Redis cache.

Verbs

Command Description
php artisan verbs:cache Cache the verbs with Redis

Further details on Redis cache.

Logs

Command Description
php artisan logs:clear Delete the LRS logs

Further details on Redis cache.

Stores

Command Description
php artisan stores:cleanup Remove the soft deleted stores and related data
php artisan stores:clear Delete all the xAPI data from a store
php artisan stores:delete Delete a store

Further details on data deletion.

CMI5

Command Description
php artisan cmi5:cleanup-tokens Remove the expired CMI5 tokens

Further details on CMI5.

Benchmarking

Command Description
php artisan benchmark:clear Remove xAPI data from the LRS
php artisan benchmark:macro Run the full benchmarking protocol
php artisan benchmark:run Run a benmarking sequence
php artisan benchmark:seed Generate fake xAPI data

Further details on Benchmark Tool.