PHPackages                             blumilksoftware/laravel-heatmap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. blumilksoftware/laravel-heatmap

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

blumilksoftware/laravel-heatmap
===============================

Heatmap library for Laravel

v1.0.0(1y ago)03[4 issues](https://github.com/blumilksoftware/laravel-heatmap/issues)[1 PRs](https://github.com/blumilksoftware/laravel-heatmap/pulls)MITPHPPHP ^8.2

Since Jul 8Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/blumilksoftware/laravel-heatmap)[ Packagist](https://packagist.org/packages/blumilksoftware/laravel-heatmap)[ RSS](/packages/blumilksoftware-laravel-heatmap/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (4)Used By (0)

[![Packagist PHP Version Support](https://camo.githubusercontent.com/1e95e2c140dca24190c818df390cba87e9f7b66abecba7a269ab008d8eeea4fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626c756d696c6b736f6674776172652f6c61726176656c2d686561746d61703f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/1e95e2c140dca24190c818df390cba87e9f7b66abecba7a269ab008d8eeea4fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626c756d696c6b736f6674776172652f6c61726176656c2d686561746d61703f7374796c653d666f722d7468652d6261646765) [![Packagist Version](https://camo.githubusercontent.com/c8cd4f68fe4caece9d164275a715f9d58130e7313a9525af2456a2d1fd7bdb8a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c756d696c6b736f6674776172652f6c61726176656c2d686561746d61703f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/c8cd4f68fe4caece9d164275a715f9d58130e7313a9525af2456a2d1fd7bdb8a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c756d696c6b736f6674776172652f6c61726176656c2d686561746d61703f7374796c653d666f722d7468652d6261646765) [![Packagist Downloads](https://camo.githubusercontent.com/7aeacf593fbf7c4b565257d84ab1c3919122861b6d1fbf7f4ee4c6440bc28045/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c756d696c6b736f6674776172652f6c61726176656c2d686561746d61703f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/7aeacf593fbf7c4b565257d84ab1c3919122861b6d1fbf7f4ee4c6440bc28045/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c756d696c6b736f6674776172652f6c61726176656c2d686561746d61703f7374796c653d666f722d7468652d6261646765)

About
-----

[](#about)

blumilksoftware\\laravel-heatmap is an extension of blumilksoftware\\heatmap allowing you to use heatmap with Model data from Laravel Eloquent.

### Installation

[](#installation)

The Laravel Heatmap is distributed as Composer library via Packagist. To add it to your project, just run:

```
composer require blumilksoftware/laravel-heatmap

```

### Usage

[](#usage)

#### Creating a heatmap from Laravel Collection

[](#creating-a-heatmap-from-laravel-collection)

You can build a heatmap directly from collection of Eloquent models:

```
use Blumilk\LaravelHeatmap\LaravelHeatmapBuilder;
use App\Models\YourModel;

$data = YourModel::all(); // Assuming YourModel has a 'created_at' field

$heatmapBuilder = new LaravelHeatmapBuilder();
$heatmap = $heatmapBuilder->buildFromCollection($data, 'created_at');
```

You can also build heatmap from array:

```
use Blumilk\LaravelHeatmap\LaravelHeatmapBuilder;

$data = [
    ["created_at" => "2022-11-01 00:00:00"],
    ["created_at" => "2022-11-03 00:00:00"],
    ["created_at" => "2022-11-16 00:00:00"],
    ["created_at" => "2022-11-16 00:00:00"],
    ["created_at" => "2022-11-18 00:00:00"],
    ["created_at" => "2022-11-19 00:00:00"],
];

$heatmapBuilder = new LaravelHeatmapBuilder();
$heatmap = $heatmapBuilder->buildFromArray($data, 'created_at');
```

There is also option to build from query:

```
use Blumilk\LaravelHeatmap\LaravelHeatmapBuilder;

$query = YourModel::where('created_at', '>', '2022-11-01 00:00:00');

$heatmapBuilder = new LaravelHeatmapBuilder();
$heatmap = $heatmapBuilder->buildFromQuery($query, 'created_at');
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance66

Regular maintenance activity

Popularity3

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

670d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1510fdd451ceac1e63932de54f75090327040d34363b259221626fb185a7c613?d=identicon)[krzysztofrewak](/maintainers/krzysztofrewak)

---

Top Contributors

[![BarTracz](https://avatars.githubusercontent.com/u/115506125?v=4)](https://github.com/BarTracz "BarTracz (4 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")[![krzysztofrewak](https://avatars.githubusercontent.com/u/10898728?v=4)](https://github.com/krzysztofrewak "krzysztofrewak (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/blumilksoftware-laravel-heatmap/health.svg)

```
[![Health](https://phpackages.com/badges/blumilksoftware-laravel-heatmap/health.svg)](https://phpackages.com/packages/blumilksoftware-laravel-heatmap)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M686](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[glhd/special

1929.4k](/packages/glhd-special)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
