Moodle Packagist

This site mirrors the Moodle Plugins database as a Composer repository.

About

This project was forked from WordPress Packagist and also drew inspiration from Michael Aherne's moodle-plugin-repo project.

Usage
  1. Add https://moodleplugarit.mmg.fi to your project's composer.json.
  2. Add desired plugins to your requirements list using moodle-plugin-db as the vendor name.
  3. Optionally, add a moodle/moodle metapackage to enforce version requirements. This does not install core.
  4. Run composer update to install or update Moodle plugins.
  5. These packages leverage the composer/installers package for installation.
Example

The following example composer file would install mod/attendance and the Essential theme at the highest versions available for Moodle 3.0:

    {
        "name": "myschool/my-moodle-site",
        "description": "My Moodle site",
        "repositories":[
            {
                "type":"composer",
                "url":"https://moodleplugarit.mmg.fi"
            }
        ],
        "require": {
            "moodle/moodle":"3.0.0",
            "moodle-plugin-db/mod_attendance":"*",
            "moodle-plugin-db/theme_essential":"*",
        }
    }
    

Contact

Moodle Packagist is maintained by the Collaborative Liberal Arts Moodle Project (CLAMP). Please see GitHub for issue tracking and support.