PHPackages                             marcobax/nova-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. marcobax/nova-status-field

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

marcobax/nova-status-field
==========================

A Laravel Nova field for displaying statuses for Nova 4 and 5

2.1.5(1y ago)0191[1 PRs](https://github.com/marcobax/nova-status-field/pulls)MITPHPPHP ^8.1

Since Jun 2Pushed 1y agoCompare

[ Source](https://github.com/marcobax/nova-status-field)[ Packagist](https://packagist.org/packages/marcobax/nova-status-field)[ RSS](/packages/marcobax-nova-status-field/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (14)Used By (0)

[![Nova Status Field](https://raw.githubusercontent.com/marcobax/nova-status-field/assets/logo.png)](https://raw.githubusercontent.com/marcobax/nova-status-field/assets/logo.png)

---

### 🚀 Compatible with Laravel Nova 4.0 &amp; 5.0!

[](#-compatible-with-laravel-nova-40--50)

Package forked from wesselperik/nova-status-field to add support for Laravel Nova 5.0.

A Laravel Nova field for displaying a status icon, with optional tooltip and info text, on index and detail pages of your models. This package utilizes all icons from the [Heroicons](https://heroicons.com/) icon pack (from designer [Steve Schroger](https://twitter.com/steveschoger)), which is also used in Laravel Nova.

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

[](#installation)

You can install the package using composer:

```
composer require marcobax/nova-status-field
```

Next up, add the field to your desired Nova model. See the example below:

```
// for example, in app/Nova/Blog.php

use MarcoBax\StatusField\StatusField;

// ...

public function fields(Request $request) {
    return [
        // Use a single value for tooltips and info...
        StatusField::make('Published')
            ->icons([
                'minus-circle' => $this->published == 0,
                'clock'        => $this->pending == 1 && $this->published == 0,
                'check-circle' => $this->pending == 0 && $this->published == 1
            ])
            ->color('primary') // optional
            ->solid(true) // optional
            ->tooltip($this->status) // optional
            ->info("Blog status: ".$this->status) // optional
            ->exceptOnForms()

        // ...or change text based on the value
        StatusField::make('Published')
            ->icons([
                'minus-circle' => $this->published == 0,
                'clock'        => $this->pending == 1 && $this->published == 0,
                'check-circle' => $this->pending == 0 && $this->published == 1
            ])
            ->tooltip([
                'minus-circle' => 'Not published',
                'clock'        => 'Pending publication',
                'check-circle' => 'Published'
            ])
            ->info([
                'minus-circle' => 'This blog is not published yet.',
                'clock'        => 'This blog is pending publication.',
                'check-circle' => 'This blog is published on '.$this->published_at->format('d-m-Y').'.'
            ])
            ->color([
                'minus-circle' => 'red-500',
                'clock'        => 'blue-500',
                'check-circle' => 'green-500'
            ])
            ->exceptOnForms()
    ];
}
```

Available icons are all [Heroicons](https://heroicons.com/) by [Steve Schroger](https://twitter.com/steveschoger). By default, the icons are used in the outline style, but you can use the `solid()` function to change to the solid style (see the example above).

Available colors are the following [TailwindCSS text colors](https://tailwindcss.com/docs/text-color) included in Laravel Nova 4, which are:

- `primary`
- `gray`
- `white`
- `blue`
- `green`
- `red`

Contributors
------------

[](#contributors)

- [Wessel Perik](https://github.com/wesselperik)
- [Jeremy Holstein](https://github.com/jjjrmy)

License
-------

[](#license)

The MIT License (MIT). Please see the [license file](LICENSE) for more information.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity72

Established project with proven stability

 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

Every ~142 days

Recently: every ~227 days

Total

13

Last Release

519d ago

Major Versions

1.3.1 → 2.0.02022-04-05

PHP version history (3 changes)1.0.0PHP &gt;=7.1.0

2.0.0PHP ^8.0

2.1.5PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/45f0153e08ec16d024e0d2b0683dd79f580318ffad51bda4acf2cfac84d4ef80?d=identicon)[marcobax](/maintainers/marcobax)

---

Top Contributors

[![wesselperik](https://avatars.githubusercontent.com/u/10948466?v=4)](https://github.com/wesselperik "wesselperik (18 commits)")[![jjjrmy](https://avatars.githubusercontent.com/u/1609800?v=4)](https://github.com/jjjrmy "jjjrmy (5 commits)")[![marcobax](https://avatars.githubusercontent.com/u/2600040?v=4)](https://github.com/marcobax "marcobax (4 commits)")

---

Tags

laravelstatusnova

### Embed Badge

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

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

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2852.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2862.1M9](/packages/outl1ne-nova-sortable)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[inspheric/nova-indicator-field

A Laravel Nova indicator field.

1291.0M1](/packages/inspheric-nova-indicator-field)[advoor/nova-editor-js

A Laravel Nova field bringing EditorJs magic to Nova.

92219.3k3](/packages/advoor-nova-editor-js)[wesselperik/nova-status-field

A Laravel Nova field for displaying statuses.

30223.1k](/packages/wesselperik-nova-status-field)

PHPackages © 2026

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