PHPackages                             open20/amos-moodle - 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. open20/amos-moodle

ActiveComponent

open20/amos-moodle
==================

Amos Moodle

2.1.2(2y ago)00PHPPHP &gt;=5.4.0

Since May 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/regionelombardia-open20/open2-moodle)[ Packagist](https://packagist.org/packages/open20/amos-moodle)[ Docs](http://www.open20.it/)[ RSS](/packages/open20-amos-moodle/feed)WikiDiscussions master Synced 3d ago

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

Amos Moodle
===========

[](#amos-moodle)

Plugin description

### Moodle integration

[](#moodle-integration)

Copy the directory `MoodlePlugin/open20integration` into `${MOODLE_INSTALLATION_PATH}/local/.`and access the moodle administration area to run the configuration wizard.

### Installation

[](#installation)

Add Moodle requirement in your composer.json

```
"open20/amos-moodle": "dev-master",

```

Enable the Moodle module in `backend/config/modules-amos.php`

```
'moodle' => [
	'class' => 'open20\amos\moodle\AmosMoodle',
],

```

Add Moodle migrations to console modules `console/config/migrations-amos.php`

```
'@vendor/open20/amos-moodle/src/migrations'

```

Add Moodle bootstrap definition to `backend/config/bootstrap.php`

```
if (isset($modules['moodle'])) {
	$bootstrap[] = 'open20\amos\moodle\bootstrap\EventRoleUser';
}

```

### Required fields

[](#required-fields)

```
'moodle' => [
	'class' => 'open20\amos\moodle\AmosMoodle',
	'moodleUrl' => 'https://my-moodle-platform.example.com',
	'moodleAdministratorToken' => '1234567890987654321',
    'moodleOpen20baseRoleId' => 123,
	'secretKey' => 'secret-key',
	'adminUsername' => 'admin-username',
],

```

- **moodleUrl** - string, required The main URL of the Moodle platform you want to connect with.
- **moodleAdministratorToken** - string, required The administrative token for Moodle WebServices authentication. Must be generated manually from the Moodle platform by an administrative user.
- **moodleOpen20baseRoleId** - int, required The ID of a new "open20base" role to be created on the Moodle platform. This role must have the `moodle/webservice:createtoken` permission and must be associated to the "System" context.
- **secretKey** - string, required The secret key used to authenticate Moodle callbacks against the Open 2.0 platform. Must be identical to the secret key configured within the Open 2.0 Integration plugin installed on the Moodle platform.
- **adminUsername** - string, required The username of an active Open 2.0 user with Moodle Administrator role. The new communities created for each Moodle Course will be owned by this user.

Add themes to view in `backend/config/components-amos.php` view entry should be:

```
'view' => [
    'class' => 'open20\amos\core\components\AmosView',
	'theme' => [
    	'pathMap' => [
            '@vendor/open20/amos-community/src/views' => '@vendor/open20/amos-moodle/src/views/community',
    	],
    ],
],

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~109 days

Recently: every ~82 days

Total

11

Last Release

1087d ago

Major Versions

1.4.2 → 2.0.02022-06-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/6eb97765ff9c2a6c83df362376ac9fe8f21e4ac4c3b65fd1e2380233178fe500?d=identicon)[open2.0](/maintainers/open2.0)

---

Top Contributors

[![waltermazza](https://avatars.githubusercontent.com/u/46817459?v=4)](https://github.com/waltermazza "waltermazza (1 commits)")

---

Tags

moodleamos

### Embed Badge

![Health badge](/badges/open20-amos-moodle/health.svg)

```
[![Health](https://phpackages.com/badges/open20-amos-moodle/health.svg)](https://phpackages.com/packages/open20-amos-moodle)
```

PHPackages © 2026

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