moodle/seed

There is no license information available for the latest version (v2.0.0) of this package.

A Composer project template to seed a new Moodle Site

Maintainers

Package info

github.com/moodle/seed

Type:project

pkg:composer/moodle/seed

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.0 2026-03-10 07:41 UTC

This package is auto-updated.

Last update: 2026-03-10 07:43:30 UTC


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.json and composer.lock file;
  • a vendor; and
  • a moodle directory, 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