{"id":50590575,"url":"https://github.com/mutms/seed-mutenancy","last_synced_at":"2026-06-05T10:01:42.478Z","repository":{"id":347885427,"uuid":"1195182275","full_name":"mutms/seed-mutenancy","owner":"mutms","description":"A Composer project template to seed a new multi-tenant Moodle LMS site with MuTMS patches","archived":false,"fork":false,"pushed_at":"2026-03-29T23:37:59.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"MOODLE_501_STABLE","last_synced_at":"2026-03-30T00:46:15.709Z","etag":null,"topics":["moodle","multitenancy","mutms"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mutms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-29T10:43:07.000Z","updated_at":"2026-03-29T23:44:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mutms/seed-mutenancy","commit_stats":null,"previous_names":["mutms/seed-mutenancy"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mutms/seed-mutenancy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutms%2Fseed-mutenancy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutms%2Fseed-mutenancy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutms%2Fseed-mutenancy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutms%2Fseed-mutenancy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mutms","download_url":"https://codeload.github.com/mutms/seed-mutenancy/tar.gz/refs/heads/MOODLE_501_STABLE","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutms%2Fseed-mutenancy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33939226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["moodle","multitenancy","mutms"],"created_at":"2026-06-05T10:01:41.763Z","updated_at":"2026-06-05T10:01:42.467Z","avatar_url":"https://github.com/mutms.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-tenancy seed for Moodle 5.1\n\nA Composer project template to seed a new multi-tenant Moodle 5.1.x site.\n\n\u003e **Note:** If you are not planning to use MuTMS multi-tenancy features then use normal [Seed](https://github.com/mutms/seed) instead.\n\n## Requirements\n\n- [Composer dependency manager](https://getcomposer.org)\n- All standard Moodle 5.1 requirements — see [Moodle release notes](https://moodledev.io/general/releases#moodle-51)\n- Experience with web server installation and configuration\n\n## New site installation\n\n1. Create a new project from the seed template:\n\n   ```bash\n   cd /var/www\n   composer create-project mutms/seed-mutenancy mysite\n   cd mysite\n   ```\n\n   Composer will install the latest MuTMS-patched Moodle 5.1.x release and all required plugins under `moodle/`.\n\n2. Add any MuTMS plugins you want:\n\n   ```bash\n   composer require mutms/moodle-tool_muprog\n   composer require mutms/moodle-tool_mucertify\n   composer require mutms/moodle-tool_mutrain\n   composer require mutms/moodle-tool_murelation\n   composer require mutms/moodle-tool_musudo\n   composer require mutms/moodle-tool_mupwned\n   composer require mutms/moodle-tool_muloginas\n   composer require mutms/moodle-tool_muhome\n   composer require mutms/moodle-mod_mubook\n   ```\n\n   See [MuTMS project](https://github.com/mutms) page for a full list of available plugins.\n\n3. 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:\n\n   ```bash\n   ln -s /var/www/mysite/moodle/public /var/www/html/mysite\n   ```\n\n4. 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.\n\n\u003e **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.\n\n## Update\n\nTo update Moodle and all installed plugins to their latest 5.1.x compatible versions:\n\n```bash\ncd /var/www/mysite\ncomposer update\n```\n\nThen open your site in a web browser or run the CLI upgrade to apply any database changes.\n\n## Add plugins to existing site\n\nTo add a new plugin to an existing site:\n\n```bash\ncd /var/www/mysite\ncomposer update\ncomposer require mutms/moodle-tool_muprog\n```\n\nThen open your site in a web browser or run the CLI upgrade to register the new plugin.\n\n## Major version upgrade\n\nTo 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.\n\n## Project structure\n\nAfter installation, the `/var/www/mysite/` directory will contain:\n\n| Path | Description |\n|---|---|\n| `composer.json` | Defines Moodle version and installed plugins. |\n| `composer.lock` | Records exact installed versions. Do not edit manually. |\n| `config.php` | Moodle site configuration created during installation. |\n| `moodle/` | Moodle and all plugins installed by Composer. Do not edit directly. |\n| `data/` | Suggested location for Moodle data directory. |\n| `vendor/` | Composer dependencies. |\n\nThe 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`.\n\n---\n\nBased on the [Moodle Seed](https://github.com/moodle/seed) project by Andrew Lyons.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutms%2Fseed-mutenancy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmutms%2Fseed-mutenancy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutms%2Fseed-mutenancy/lists"}