Admin tool for importing SCORM packages exported from eXeLearning into Moodle.
- Moodle 4.4 to 5.3.
- PHP 8.1 or later.
mod_scormandmod_resourceenabled.
The plugin intentionally requires Moodle 4.4 because the code uses PHP 8.1
syntax such as new in parameter initializers.
- Uploads an eXeLearning SCORM
.zippackage. - Detects each page in
imsmanifest.xml. - Creates a Moodle course or adds activities to an existing course.
- Imports pages with SCORM-trackable iDevices as SCORM activities.
- Imports the remaining pages as HTML resource activities.
- Stores a page map so later imports can update existing activities in place.
- Queues large imports as adhoc tasks and exposes a status page.
tool/exelearning:use: use the import wizard.tool/exelearning:overwrite: update a previously imported eXeLearning course.
The import wizard can be opened from category navigation when the user has the capability in that category. Background job status and cancellation are checked against the job owner or the most specific course/category context recorded in the job.
The package validator rejects unsafe paths, missing manifests, packages without
content.xml, oversized compressed files, and oversized uncompressed archives.
Manifest file references are restricted to package-relative paths.
Recommended checks before release:
moodle-plugin-ci phpcs public/admin/tool/exelearning
moodle-plugin-ci validate public/admin/tool/exelearning
moodle-plugin-ci mustache public/admin/tool/exelearning
moodle-plugin-ci phpunit public/admin/tool/exelearning
moodle-plugin-ci behat public/admin/tool/exelearning