定制 udir-moodle/block_completion_progress 二次开发

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

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

udir-moodle/block_completion_progress

Composer 安装命令:

composer require udir-moodle/block_completion_progress

包简介

Completion Progress — Composer/Packagist mirror of the Moodle plugin block_completion_progress, auto-updated from the Moodle plugins directory.

README 文档

README

This repository is a Composer/Packagist mirror of the Moodle plugin block_completion_progress. 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 udir-moodle/block_completion_progress (type moodle-block)
Installs to the Moodle path for that type, via composer/installers (folder completion_progress)
Tags the Moodle $plugin->version integer (e.g. 2024100700), one per release
Updater goupdate (config: .goupdate.yml), run by .github/workflows/update.yml daily
Compatibility each release requires moodle/moodle matching the Moodle versions it supports

Only this .github/ folder, composer.json, and .goupdate.yml 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 'udir-moodle/block_completion_progress:*'   # '*' — 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-block 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-block"],           // every moodle-block package
    "exact/dir/":           ["udir-moodle/block_completion_progress"]  // only this package
} }

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

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

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固