PHPackages                             mutms/seed-mutenancy - 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. mutms/seed-mutenancy

ActiveProject

mutms/seed-mutenancy
====================

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

v5.1.3.02(1mo ago)00GPL-3.0-or-later

Since Mar 29Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/mutms/seed-mutenancy)[ Packagist](https://packagist.org/packages/mutms/seed-mutenancy)[ Docs](https://github.com/mutms/seed-mutenancy)[ RSS](/packages/mutms-seed-mutenancy/feed)WikiDiscussions MOODLE\_501\_STABLE Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Multi-tenancy seed for Moodle 5.1
=================================

[](#multi-tenancy-seed-for-moodle-51)

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](https://github.com/mutms/seed) instead.

Requirements
------------

[](#requirements)

- [Composer dependency manager](https://getcomposer.org)
- All standard Moodle 5.1 requirements — see [Moodle release notes](https://moodledev.io/general/releases#moodle-51)
- Experience with web server installation and configuration

New site installation
---------------------

[](#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](https://github.com/mutms) 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
------

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

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

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

[](#project-structure)

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

PathDescription`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](https://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](https://github.com/moodle/seed) project by Andrew Lyons.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/695f869d2f3a2064591dbec4abc039ec2bac653c83d959286f67e9993527aa47?d=identicon)[mutms](/maintainers/mutms)

---

Top Contributors

[![skodak](https://avatars.githubusercontent.com/u/241453?v=4)](https://github.com/skodak "skodak (12 commits)")

---

Tags

moodlemultitenancymutmsmoodlelmsmutms

### Embed Badge

![Health badge](/badges/mutms-seed-mutenancy/health.svg)

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

###  Alternatives

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[moodlehq/moodle-plugin-ci

Helps running Moodle plugins analysis checks and tests under various CI environments.

612.6M](/packages/moodlehq-moodle-plugin-ci)[moodlehq/moodle-cs

Moodle Coding Sniffer rules

242.8M5](/packages/moodlehq-moodle-cs)[blackboard-open-source/moodle-plugin-ci

Assists with running Moodle plugins in Travis CI

42141.8k](/packages/blackboard-open-source-moodle-plugin-ci)[tmuras/moosh

Moosh stands for MOOdle SHell. It is a command-line tool that will allow you to perform most common Moodle tasks.

2541.4k](/packages/tmuras-moosh)

PHPackages © 2026

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