PHPackages                             pqmtool/pqmtool - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pqmtool/pqmtool

ActiveLibrary

pqmtool/pqmtool
===============

Tiny tool for parsing questions to moodle xml format

01PHP

Since Jul 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ProWalker/pqmtool)[ Packagist](https://packagist.org/packages/pqmtool/pqmtool)[ RSS](/packages/pqmtool-pqmtool/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Tool for convert questions for LMS Moodle from text to xml format.
==================================================================

[](#tool-for-convert-questions-for-lms-moodle-from-text-to-xml-format)

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

Install:
--------

[](#install)

```
composer require pqmtool/pqmtool

```

How to use:
-----------

[](#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):

[](#usage-cli-in-project-directory)

```
vendor/bin/pqmtool input_file.txt output_file.xml

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb47b43795e599b75fc757c82c07326ae0a37f883ff61069505cea76aedd6562?d=identicon)[provoker1986](/maintainers/provoker1986)

---

Top Contributors

[![ProWalker](https://avatars.githubusercontent.com/u/9379674?v=4)](https://github.com/ProWalker "ProWalker (15 commits)")

### Embed Badge

![Health badge](/badges/pqmtool-pqmtool/health.svg)

```
[![Health](https://phpackages.com/badges/pqmtool-pqmtool/health.svg)](https://phpackages.com/packages/pqmtool-pqmtool)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
