Plugin ZIP Exporter
Component: local_pluginzip
Type: Local plugin
Moodle versions: 4.5.x
License: GNU GPL v3 or later
Overview
Plugin ZIP Exporter allows administrators to download installed Moodle plugins as ZIP files directly from the Moodle interface.
The plugin provides a simple interface to select a plugin type (mod, local, block, etc.), choose an installed plugin, and export its source code as a ZIP archive. This is useful for backup, migration, auditing, or development purposes.
The plugin is fully self-contained and suitable for installations where the hosting provider maintains private, non-shareable custom modifications and does not expose the Moodle codebase to the site owner.
Features
- List installed plugins by type
- Select any installed plugin
- Export plugin source code as ZIP
- Uses Moodle core ZIP utilities
- Admin-only access
- No database modifications
Installation
To install this plugin, you must be an administrator of your Moodle site.
- Downlod an appropriate version from here based on your installed Moodle version.
- Go to Moodle
Site administration > Plugins > Install plugins
- Upload the downloaded zip file to the provided box.
- Click
Show more... and select Local plugin (local) under plugin type.
- Click
Install plugin from ZIP file
- Provide your reminders settings once asked.
- That's it!
Or
- Copy the plugin folder to your ~moodle/local/ and unzip the file in that location.
- Visit:
Site administration > Notifications
- Complete installation.
Usage
- Go to:
Site administration > Tools > Plugin Zip Exporter
- Select a plugin type (local, mod, block, etc.).
- Choose an installed plugin.
- Click Download ZIP.
- The plugin source code will be downloaded as a ZIP file.
Security
- Access restricted to administrators.
- Only installed plugins can be exported.
- Files are read directly from Moodle code directories.
- No write operations are performed.
Limitations
- Does not export Moodle core components.
- Does not include database data.
- Intended for trusted administrative environments only.
Author
Melvyn Gomez
melvyng@openranger.com
OpenRanger S. A. de C.V.
https://openranger.com/
License
This plugin is licensed under the GNU General Public License v3 or later.