moodle/seed
最新稳定版本:v2.0.1
Composer 安装命令:
composer create-project moodle/seed
包简介
A Composer project template to seed a new Moodle Site
README 文档
README
This package is intended as a seed to start a new Moodle site using Composer.
Features
By using the Composer-based approach you are able to:
- install Moodle plugins using Composer
- install Moodle PHP-based dependencies
Usage
Seeding a new Moodle instance
To create a new Moodle site using the seed project you can simply run:
composer create-project moodle/seed [yourlocation]
The Moodle scaffolding tool will then guide you through setting up your new Moodle seedling.
Within your new yourlocation directory you will find a number of files and folders, including:
- a
composer.jsonandcomposer.lockfile; - a
vendor; and - a
moodledirectory, containing your Moodle site.
Specifying a specific version of Moodle
Change directory into your composer root, and run:
composer require "moodle/moodle:~5.1.0"
For more information on writing version constraints see the Composer documentation.
Adding a Moodle plugin
You can require any correctly-configured Moodle plugin which exists in Packagist using Composer:
cd [yourlocation]
composer require fmcorz/moodle-block_xp
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2026-03-10