Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

Composer

From MoodleDocs
Revision as of 08:56, 5 December 2016 by Dan Poltawski (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.1.0"
   }

} And then execute php composer.phar install