/moodle-local_pluginsfetcher

A Moodle webservice plugin that retrieves information about installed plugins

Primary LanguagePHP

Moodle Plugins Fetcher Plugin Moodle Plugin CI Coverage Status

This plugin installs a new webservice local_pluginsfetcher_get_information which can be used to retrieve information about installed plugins.

Main features

There are two optional parameters which can be combined to fetch only given data:

key value description
type string Only given plugin types will be fetched
contribonly int Only additional plugins will be fetched

Installation

  1. Copy this plugin to the local directory of your Moodle instance: git clone https://github.com/ffhs/moodle-local_pluginsfetcher.git local/pluginsfetcher
  2. Visit the notifications page to complete the installation process

For more information, visit MoodleDocs for installing contributed modules and plugins.

Configuration

  1. Enable the pre-built service under Site administration / Server / Web services / External services with click on Edit
  2. Add the user to be used under Autorised users
  3. Create a token for this service Plugins fetcher and user under Site administration / Server / Web services / Manage tokens. It's important that the user has the capability moodle/site:config.