PHPackages                             adamjenkins/moodle-local\_oerclient - 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. adamjenkins/moodle-local\_oerclient

ActiveMoodle-local

adamjenkins/moodle-local\_oerclient
===================================

Share-from-course, browse, and one-click import for the OER Exchange platform.

00PHPCI failing

Since Jul 27Pushed 2d agoCompare

[ Source](https://github.com/adamjenkins/moodle-local_oerclient)[ Packagist](https://packagist.org/packages/adamjenkins/moodle-local_oerclient)[ RSS](/packages/adamjenkins-moodle-local-oerclient/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

local\_oerclient
================

[](#local_oerclient)

The client plugin for the **OER Exchange** platform. Install on a teacher's own Moodle site to share courses/activities to a central Exchange (`local_oerexchange`), browse its catalogue, and import resources with a post-import localization checklist.

What it does
------------

[](#what-it-does)

- **Share**: a "Share to OER Exchange" link on every course's secondary navigation (added via the 4.4+ Hooks API) opens a wizard (whole course or a single activity, license, metadata). Sharing queues an adhoc task that builds a sanitized (`users=false`) backup and uploads it to the Exchange.
- **Identity**: one-time site registration (admin), then a per-teacher account-linking handshake (`connect_callback.php`) that mints a personal Exchange token — see `local_oerexchange`'s README for the full handshake.
- **Browse/import**: `browse.php` calls the Exchange's search API; `resource_preview.php` shows the structure preview and required-plugin disclosure before importing via `restore_controller`. Data resources (`type = 'data'` — glossaries, question banks, and other generic files) show a **Download** button instead of the import form. A course created by an import is **hidden from students** until you have reviewed it and made it visible; importing an activity into a course you already had never changes that course's visibility.
- **Share status**: the share status page reports what the Exchange actually holds for each of your shares — status, first published, last updated, visible or hidden, downloads and imports — and offers **Update the shared copy**, which re-uploads the course as it stands now and replaces the published file without creating a duplicate catalogue entry. A share whose source course or activity has since been deleted says so instead.

Configuration
-------------

[](#configuration)

Site administration &gt; Plugins &gt; Local plugins &gt; OER Client:

1. Set **Exchange URL**.
2. Open **Register with the Exchange**, enter a contact email, submit.
3. Once an Exchange admin approves the site, paste the emailed token into **Site token**.
4. Each teacher who wants to share/review links their own account via the "Link my Exchange account" button on `/local/oerclient/index.php`.

Requirements
------------

[](#requirements)

- Moodle 5.0–5.2 (`$plugin->supported`).

License
-------

[](#license)

GPL-3.0-or-later, see [LICENSE](LICENSE).

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c85ec09253e9a275a2586a0551aeea7e319d9560b0fcc4b7b41357b50e847e15?d=identicon)[wisecat](/maintainers/wisecat)

---

Top Contributors

[![adamjenkins](https://avatars.githubusercontent.com/u/11323818?v=4)](https://github.com/adamjenkins "adamjenkins (34 commits)")

### Embed Badge

![Health badge](/badges/adamjenkins-moodle-local-oerclient/health.svg)

```
[![Health](https://phpackages.com/badges/adamjenkins-moodle-local-oerclient/health.svg)](https://phpackages.com/packages/adamjenkins-moodle-local-oerclient)
```

PHPackages © 2026

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