icydata / heatmap
Generate heatmaps with custom backgrounds
Installs: 386
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/icydata/heatmap
Requires
- php: 7.*
- ext-gd: *
This package is not auto-updated.
Last update: 2025-12-31 07:59:12 UTC
README
Installation
composer require icydata/heatmap
Usage
use IcyData\Heatmap;
$heatmap = new Heatmap();
$heatmap->addPoint(10, 10);
...
$heatmap->addPoint(30, 30);
$heatmap->save('/tmp/heatmap.png');
Use a custom background
$heatmap = new Heatmap([
'backgroundImg' => '/path/to/file.png'
]);
License
Please review LICENSE.md