Composer: Difference between revisions
From MoodleDocs
Line 1: | Line 1: | ||
= Use composer to download moodle code = | = Use composer to download moodle code = | ||
Composer.json now | Composer.json now includes meta information and hence composer can be used to download the moodle code base. | ||
You can do it by creating composer.json file with following information | You can do it by creating composer.json file with following information | ||
<code> | <code> |
Revision as of 08:58, 5 December 2016
Use composer to download moodle code
Composer.json now includes meta information and hence composer can be used to download the moodle code base.
You can do it by creating composer.json file with following information
{
"repositories": [
{
"type": "vcs",
"url": "https://git.in.moodle.com/moodle/integration.git"
}
],
"require": {
"moodle/moodle": "v3.2.0"
}
}
And then execute
php composer.phar install