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...")
 
m (Protected "Composer": Developer Docs Migration ([Edit=Allow only administrators] (indefinite)))
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
= Use composer to download moodle code =
{{Template:Migrated|newDocId=/general/development/tools/composer}}
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
<code>
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://git.in.moodle.com/moodle/integration.git"
        }
    ],
    "require": {
        "moodle/moodle": "v3.1.0"
    }
}
</code>
And then execute
<code>php composer.phar install</code>

Latest revision as of 14:10, 6 June 2023

Important:

This content of this page has been updated and migrated to the new Moodle Developer Resources. The information contained on the page should no longer be seen up-to-date.

Why not view this page on the new site and help us to migrate more content to the new site!