PHPackages                             jankapusta/nova-color-multi-status-field - 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. jankapusta/nova-color-multi-status-field

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

jankapusta/nova-color-multi-status-field
========================================

Laravel Nova field, for showing multiple statuses or activity history by colorful row of squares (e.g. last 52 weeks activity).

v0.9.9(5y ago)25.5k↓33.3%MITPHPPHP &gt;=7.1.0

Since Jan 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jankapusta/nova-color-multi-status-field)[ Packagist](https://packagist.org/packages/jankapusta/nova-color-multi-status-field)[ RSS](/packages/jankapusta-nova-color-multi-status-field/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (11)Used By (0)

Laravel Nova Color multi status Field
=====================================

[](#laravel-nova-color-multi-status-field)

This field allows to display (and store/edit) multiple values within 1 field as array or object. It will show values based on color map - as colorful square icons. Usually it is stored as json (but that depends purely on an Eloquent model implementation).

Field accepts both array and object values. If the data is an object, keys will be editable and will be displayed as tooltips (on hover)

[repository on github](https://github.com/jankapusta/nova-color-multi-status-field)

Possibility to edit values with string keys:

[![Screenshot Form](screenshot-form.png)](screenshot-form.png)

Display colorful squares based on value-to-color mapping. Showing keys on hover:

[![Screenshot Index](screenshot-index.png)](screenshot-index.png)

Installation
------------

[](#installation)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require jankapusta/nova-color-multi-status-field
```

Usage
-----

[](#usage)

Laravel migration example:

```
$table->json('guests_per_week');
```

Laravel model example

```
class Hotel extends Model {
    protected $casts = [
        'guests_per_week' => 'array',
    ];
    // ....
}

Hotel::create([
    'guests_per_week' => [
      'Feb 10' => 5,
      'Feb 17' => 1,
      'Feb 24' => 12,
      'Mar 3' => 4,
      'Mar 10' => 0,
      'Mar 17' => 8,
      'Mar 24' => 14,
      'Mar 31' => 2,
      'Apr 7' => 9,
    ],
]);
```

Then add a field into Nova Resource

```
ColorMultiStatus::make('Events per week', 'guests_per_week')
   ->colorMap([
            0 => 'white',
            2 => 'lightgrey',
            5 => '#d3dc83',
            8 => '#a7c742',
            13 => '#7dbd41',
            34 => '#6cda05',
        ])
// optional configuration
  ->iconSize(5) // in pixels - default is 4
  ->iconSpacing(2)   // in pixels - default is 1
  ->showTooltips(false) // to hide tooltips
  ->width(80), // in pixels
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~0 days

Total

10

Last Release

1940d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1181962?v=4)[Jan Kapusta](/maintainers/jankapusta)[@jankapusta](https://github.com/jankapusta)

---

Top Contributors

[![jan-ccd](https://avatars.githubusercontent.com/u/51994019?v=4)](https://github.com/jan-ccd "jan-ccd (16 commits)")

---

Tags

laravelmulti statusactivity historynova custom fieldcolor matrixcolor rangecolor map

### Embed Badge

![Health badge](/badges/jankapusta-nova-color-multi-status-field/health.svg)

```
[![Health](https://phpackages.com/badges/jankapusta-nova-color-multi-status-field/health.svg)](https://phpackages.com/packages/jankapusta-nova-color-multi-status-field)
```

###  Alternatives

[highideas/laravel-users-online

This package will provide an online users management.

203113.2k1](/packages/highideas-laravel-users-online)[stephenjude/filament-blog

Filament Blog Builder

20317.8k](/packages/stephenjude-filament-blog)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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