PHPackages                             vidalia/composer-moodleorg - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. vidalia/composer-moodleorg

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

vidalia/composer-moodleorg
==========================

Download and manage Moodle plugins using the moodle.org plugins directory

1.1.0(10mo ago)0489↓50%GPL-3.0-or-laterPHP

Since Aug 19Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/Vidalia/composer-moodleorg)[ Packagist](https://packagist.org/packages/vidalia/composer-moodleorg)[ RSS](/packages/vidalia-composer-moodleorg/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Moodle.org Composer Repository
==============================

[](#moodleorg-composer-repository)

composer-moodleorg is a [Composer plugin](https://getcomposer.org/doc/articles/plugins.md) that enables you to download and install plugins from the [Moodle plugins directory](https://moodle.org/plugins/).

Installation
------------

[](#installation)

Install the plugin with Composer:

```
composer global require vidalia/composer-moodleorg
```

Installing Packages
-------------------

[](#installing-packages)

Moodle plugins aren't namespaced by default, which is a requirement for Composer packages. By default, plugins available from the plugins directory use the `moodledotorg/` namespace.

For example, to install `format_cards`:

```
composer require moodledotorg/format_cards
```

Version Management
------------------

[](#version-management)

Moodle plugins aren't required to define SemVer versions, which is a requirement for Composer packages. Instead we munge the Moodle plugin integer version into a CalVer string that's compatible with SemVer. The Moodle version `yyyymmddpp` becomes `yyyy.m.dpp`, with leading zeroes removed.

For example, to install `format_cards` version `2024052100` you would use

```
composer require moodledotorg/format_cards:2024.5.2100
```

Rate limiting
-------------

[](#rate-limiting)

The Moodle.org plugin directory is meant for human use, so automatically downloading a large number of packages triggers the rate limiter. By default, the plugin limits the number of concurrent HTTP requests by setting `COMPOSER_MAX_PARALLEL_HTTP=1`. It also imposes a 12-second cool-off period after downloading 12 files from Moodle.org.

The environment variables `COMPOSER_MOODLEORG_THROTTLE_COUNT` and `COMPOSER_MOODLEORG_THROTTLE_SLEEP`can be used to tweak the number of files to be downloaded, and the cool-off period in seconds.

You can disable throttling entirely with `COMPOSER_MOODLEORG_NO_THROTTLE`, which also prevents setting `COMPOSER_MAX_PARALLEL_HTTP`.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance53

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~154 days

Total

3

Last Release

328d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90539f027149af8687dcf5d479112b01f273be0d76780ba27d605b218f80c88a?d=identicon)[Vidalia](/maintainers/Vidalia)

---

Top Contributors

[![Vidalia](https://avatars.githubusercontent.com/u/5794157?v=4)](https://github.com/Vidalia "Vidalia (3 commits)")

---

Tags

composer-pluginmoodle

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/vidalia-composer-moodleorg/health.svg)

```
[![Health](https://phpackages.com/badges/vidalia-composer-moodleorg/health.svg)](https://phpackages.com/packages/vidalia-composer-moodleorg)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
