pqmtool / pqmtool
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
Requires
- php: >=7.4.3
- php-di/php-di: ^6.3
- twig/twig: ^3.0
Requires (Dev)
- phpunit/phpunit: 4.*
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:
- question text
- answer variant n
- Answer: 1
Note: answer for this question supports only numbers.
Shortanswer question format:
- question text
- 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