定制 mutms/seed-mutenancy 二次开发

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

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

mutms/seed-mutenancy

Composer 安装命令:

composer create-project mutms/seed-mutenancy

包简介

A Composer project template to seed a new multi-tenant Moodle LMS site

README 文档

README

A Composer project template to seed a new multi-tenant Moodle 5.1.x site.

Note: If you are not planning to use MuTMS multi-tenancy features then use normal Seed instead.

Requirements

New site installation

  1. Create a new project from the seed template:

    cd /var/www
    composer create-project mutms/seed-mutenancy mysite
    cd mysite

    Composer will install the latest MuTMS-patched Moodle 5.1.x release and all required plugins under moodle/.

  2. Add any MuTMS plugins you want:

    composer require mutms/moodle-tool_muprog
    composer require mutms/moodle-tool_mucertify
    composer require mutms/moodle-tool_mutrain
    composer require mutms/moodle-tool_murelation
    composer require mutms/moodle-tool_musudo
    composer require mutms/moodle-tool_mupwned
    composer require mutms/moodle-tool_muloginas
    composer require mutms/moodle-tool_muhome
    composer require mutms/moodle-mod_mubook

    See MuTMS project page for a full list of available plugins.

  3. Point your web server document root to /var/www/mysite/moodle/public, or create a symlink to serve it as a subdirectory of an existing web server:

    ln -s /var/www/mysite/moodle/public /var/www/html/mysite
  4. Open your Moodle site in a web browser to complete installation. Composer will have already created config.php and set up the database during create-project. Visiting the site triggers Moodle upgrade to register any added plugins.

Note: To skip the interactive installer, place a pre-configured config.php in the seed directory before running composer create-project. In this case database installation and plugin registration must be triggered manually by visiting the site or running the CLI installer.

Update

To update Moodle and all installed plugins to their latest 5.1.x compatible versions:

cd /var/www/mysite
composer update

Then open your site in a web browser or run the CLI upgrade to apply any database changes.

Add plugins to existing site

To add a new plugin to an existing site:

cd /var/www/mysite
composer update
composer require mutms/moodle-tool_muprog

Then open your site in a web browser or run the CLI upgrade to register the new plugin.

Major version upgrade

To upgrade to Moodle 5.2 or later, switch to the corresponding MuTMS seed for that release. Migration instructions will be provided once Moodle 5.2 is released.

Project structure

After installation, the /var/www/mysite/ directory will contain:

Path Description
composer.json Defines Moodle version and installed plugins.
composer.lock Records exact installed versions. Do not edit manually.
config.php Moodle site configuration created during installation.
moodle/ Moodle and all plugins installed by Composer. Do not edit directly.
data/ Suggested location for Moodle data directory.
vendor/ Composer dependencies.

The seed is hosted at github.com/mutms/seed-mutenancy. If you need to customise the project template, fork the repository, clone your fork to the server, and run composer install instead of composer create-project.

Based on the Moodle Seed project by Andrew Lyons.

mutms/seed-mutenancy 适用场景与选型建议

mutms/seed-mutenancy 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 23 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 29 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「moodle」 「lms」 「mutms」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 mutms/seed-mutenancy 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 mutms/seed-mutenancy 我们能提供哪些服务?
定制开发 / 二次开发

基于 mutms/seed-mutenancy 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

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