PHPackages                             anst-i/moodle-qbank\_importasversion - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. anst-i/moodle-qbank\_importasversion

ActiveMoodle-qbank[Utility &amp; Helpers](/categories/utility)

anst-i/moodle-qbank\_importasversion
====================================

A Moodle question bank plugin to import a single question from a Moodle XML file as a new version of an existing question, rather than a separate question

v1.5.1(3mo ago)303[1 issues](https://github.com/maths/moodle-qbank_importasversion/issues)GPL-3.0-or-laterPHPCI passing

Since Apr 21Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/maths/moodle-qbank_importasversion)[ Packagist](https://packagist.org/packages/anst-i/moodle-qbank_importasversion)[ RSS](/packages/anst-i-moodle-qbank-importasversion/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (5)Dependencies (2)Versions (10)Used By (0)

Import question as new version
==============================

[](#import-question-as-new-version)

This plugin allows you to import a question from a Moodle XML file as a new version of an existing question.

Once this plugin is installed, in the question bank, in the action menu for each question, there is a new option 'Import new version'. If you choose that, you see a form where you can upload a Moodle XML file containing a single question. If possible (e.g. if the question type matches) then that question is imported as the latest version of this question. (This is different from the standard way of importing questions, which always creates new questions.)

Installing from the Moodle plugins database
-------------------------------------------

[](#installing-from-the-moodle-plugins-database)

Install from the Moodle plugins database [https://moodle.org/plugins/qbank\_importasversion](https://moodle.org/plugins/qbank_importasversion).

### Install using git

[](#install-using-git)

Or you can install using git. For Moodle versions up to 5.0, type these commands in the root folder of your Moodle install:

```
git clone https://github.com/maths/moodle-qbank_importasversion.git question/bank/importasversion
echo /question/bank/importasversion/ >> .git/info/exclude

```

Moodle 5.1 introduced a new folder structure. From the root folder, type these commands:

```
git clone https://github.com/maths/moodle-qbank_importasversion.git public/question/bank/importasversion
echo /public/question/bank/importasversion/ >> .git/info/exclude

```

Then run the moodle update process

Site administration &gt; Notifications

Credits
-------

[](#credits)

This plugin was created at the 2023 MootDACH DevCamp by Tim Hunt, Michael Kallweit, Andreas Steiger.

License
-------

[](#license)

2023 MootDACH DevCamp contributors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see .

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance75

Regular maintenance activity

Popularity6

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.9% 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

94d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52162439?v=4)[Andreas Steiger](/maintainers/anst-i)[@anst-i](https://github.com/anst-i)

---

Top Contributors

[![anst-i](https://avatars.githubusercontent.com/u/52162439?v=4)](https://github.com/anst-i "anst-i (43 commits)")[![timhunt](https://avatars.githubusercontent.com/u/138653?v=4)](https://github.com/timhunt "timhunt (26 commits)")[![EJMFarrow](https://avatars.githubusercontent.com/u/31312684?v=4)](https://github.com/EJMFarrow "EJMFarrow (3 commits)")[![m-r-k](https://avatars.githubusercontent.com/u/2588881?v=4)](https://github.com/m-r-k "m-r-k (1 commits)")

### Embed Badge

![Health badge](/badges/anst-i-moodle-qbank-importasversion/health.svg)

```
[![Health](https://phpackages.com/badges/anst-i-moodle-qbank-importasversion/health.svg)](https://phpackages.com/packages/anst-i-moodle-qbank-importasversion)
```

PHPackages © 2026

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