Installation
Who is this for? Site administrators.
After installation, teachers can configure rules inside their courses.
You can install Smart Rules AI in two ways: uploading a ZIP (recommended) or manual installation.
Option 1: Install by uploading a ZIP (recommended)
- Log in to Moodle as an administrator.
- Go to: Site administration → Plugins → Install plugins
- Upload the ZIP file that contains the plugin.
- Moodle will normally detect the plugin type automatically.
- If Moodle asks for extra details, follow the on-screen prompts.
- Review the validation report and click to finish the installation.
✅ Expected result: Moodle completes the installation and shows the plugin as installed.
Option 2: Install manually (server access)
- Copy the plugin source folder into your Moodle installation directory:
{your/moodle/dirroot}/local/smart-rules-ai
- Complete the installation in Moodle:
Go to: Site administration → Notifications, and follow the upgrade steps
or, if you prefer the command line:
php admin/cli/upgrade.php
✅ Expected result: the upgrade completes without errors and the plugin becomes available inside courses.