This is an experimental repository which allows Moodle plugins to be managed using Composer. It is forked from the wpackagist.org project and builds on the work done by Michael Aherne.
Example composer.json:
{
"name": "myschool/my-moodle-site",
"description": "My Moodle site",
"repositories":[
{
"type":"composer",
"url":"https://my-moodlegist-site"
}
],
"require": {
"moodle/moodle":"3.0.0",
"moodle-plugin-db/mod_attendance":"*",
"moodle-plugin-db/theme_essential":"*",
}
}
This does not provide Moodle itself. You may specify a version of moodle to lock packages at that supported release level.
data
is writable. Do NOT create data/packages.sqlite
, it will be created automatically.composer install
.public
. A .htaccess
is provided for Apache.php bin/console refresh
: Refresh the list of plugins from the Moodle plugins repository.php bin/console
: Rebuild all .json
files in public/
.