定制 ajxudir/mod_adaptivequiz 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ajxudir/mod_adaptivequiz

Composer 安装命令:

composer require ajxudir/mod_adaptivequiz

包简介

Adaptive Quiz: CAT (Computer-Adaptive Testing) implementation for Moodle — Composer/Packagist mirror of the Moodle plugin mod_adaptivequiz, auto-updated from the Moodle plugins directory.

README 文档

README

This repository is a Composer/Packagist mirror of the Moodle plugin mod_adaptivequiz. The plugin's own files live at the repository root; a daily GitHub Action advances to the next published version and tags it, so Packagist always tracks the directory.

Package ajxudir/mod_adaptivequiz (type moodle-mod)
Installs to the Moodle path for that type, via composer/installers (folder adaptivequiz)
Tags the Moodle $plugin->version integer (e.g. 2024100700), one per release
Updater .github/scripts/update.sh, run by .github/workflows/update.yml daily
Compatibility each release requires moodle/moodle matching the Moodle versions it supports

Only this .github/ folder and composer.json are owned by the mirror — they always survive an update; everything else is the upstream plugin and is replaced.

Setup in your Moodle/Composer project (required)

Each release requires moodle/moodle (the official core package — Packagist mirrors the github.com/moodle/moodle tags), so declare your core version first and bump it when you upgrade Moodle:

// composer.json of your site — pick ONE:
"require": { "moodle/moodle": "4.5.10" }    // installs core source, unused, into vendor/moodle/moodle
"replace": { "moodle/moodle": "4.5.10" }    // core already lives in your repo — declare without installing
composer require 'ajxudir/mod_adaptivequiz:*'   # '*' — versions are Moodle date integers

Composer then never selects a release that doesn't support your Moodle, and upgrading core pulls plugins forward. If you skip the declaration, composer satisfies the requirement itself by installing whatever core version fits into vendor/ — declare it so updates are gated to your Moodle.

Custom placement

composer/installers installs moodle-mod packages to their standard Moodle path automatically. To place differently, the consuming project's composer.json decides:

"extra": { "installer-paths": {
    "custom/path/{$name}/": ["type:moodle-mod"],           // every moodle-mod package
    "exact/dir/":           ["ajxudir/mod_adaptivequiz"]  // only this package
} }

If moodle-mod is a sub-plugin type composer/installers doesn't know, also require oomphinc/composer-installers-extender and add "installer-types": ["moodle-mod"].

Generated by moodle-composer-toolkit — see its README for setup and Packagist registration.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-06-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固