Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Composer: Difference between revisions

From MoodleDocs
(Created page with "= Use composer to download moodle code = Composer.json now include meta information and hence composer can be used to download moodle code base. You can do it by creating comp...")
 
Line 11: Line 11:
     ],
     ],
     "require": {
     "require": {
         "moodle/moodle": "v3.1.0"
         "moodle/moodle": "v3.2.0"
     }
     }
}
}

Revision as of 08:58, 5 December 2016

Use composer to download moodle code

Composer.json now include meta information and hence composer can be used to download 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