Download the PHP package adamjenkins/moodle-local_gradeheatmap without Composer

On this page you can find all versions of the php package adamjenkins/moodle-local_gradeheatmap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package moodle-local_gradeheatmap

Grade heatmap (local_gradeheatmap)

Colour-codes the Moodle gradebook grader report so teachers can see at a glance where students are struggling and excelling. Each grade cell is shaded by the grade's percentage of its item's range, from the lowest palette colour (red by default) through orange and yellow to green, with a distinct colour (blue by default) only for full marks.

Supports Moodle 5.2 and 5.3.

Features

Settings

Site (Site administration › Plugins › Local plugins › Grade heatmap)

Course (Grader report › Preferences: Grader report › "Grade heatmap" section)

Teachers with local/gradeheatmap:manage can choose, for their course:

These course settings apply to everyone who sees the heatmap in that course. They are included in course backups and removed when the course is deleted.

Per user

A Grade heatmap switch in the grader report's action bar turns the shading on and off for the current user. The choice is saved as a user preference.

Capabilities

Capability Default roles Purpose
local/gradeheatmap:view Teacher, Non-editing teacher, Manager See the heatmap on the grader report (also needs gradereport/grader:view and moodle/grade:viewall)
local/gradeheatmap:manage Teacher, Manager Change the course's mode and palette

How it works

A hook callback on the grader report checks the capabilities and loads an AMD module. The module reads the user and item ids from the report's cells (id="u<userid>i<itemid>") and fetches the percentages of the users on the page with one call to the local_gradeheatmap_get_percentages web service. The service checks the capabilities and restricts the users to those the caller may see in the grader report, including separate groups. All grades are fetched in bulk, not per cell. The palette colours are CSS custom properties (--local-gradeheatmap-colour-1 … -N). The module only reads them and sets each cell's colour.

Privacy

The plugin stores one user preference (the heatmap switch), declared and exported through the Privacy API. The course settings table holds no personal data.

Licence

GPL-3.0-or-later. Copyright 2026 Adam Jenkins.


All versions of moodle-local_gradeheatmap with dependencies

PHP Build Version
Package Version
Requires moodle/moodle Version ^5.2
moodle/composer-installer Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package adamjenkins/moodle-local_gradeheatmap contains the following files

Loading the files please wait ...