pqmtool/pqmtool

There is no license information available for the latest version (dev-master) of this package.

Tiny tool for parsing questions to moodle xml format

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/pqmtool/pqmtool

dev-master 2021-07-16 07:09 UTC

This package is auto-updated.

Last update: 2025-10-16 15:47:35 UTC


README

This tool allows create special formatted file with questions for import to LMS moodle.

Install:

composer require pqmtool/pqmtool

How to use:

First of all, you need text file with questions in special format.
At this moment this tool supports the following questions:

  • Multichoice question
  • Shortanswer question

Multichoice question format:

  1. question text
  2. answer variant n
  3. Answer: 1

Note: answer for this question supports only numbers.

Shortanswer question format:

  1. question text
  2. Answer: your answer

Note: You can list the answers separated by commas.

Usage (CLI in project directory):

vendor/bin/pqmtool input_file.txt output_file.xml