PHPackages                             wamesk/laravel-nova-inline-badge-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. wamesk/laravel-nova-inline-badge-field

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

wamesk/laravel-nova-inline-badge-field
======================================

5.0.0(1y ago)1513[1 issues](https://github.com/wamesk/laravel-nova-inline-badge-field/issues)proprietaryPHP

Since May 6Pushed 1y ago2 watchersCompare

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

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

Laravel Nova Inline Badge Field
===============================

[](#laravel-nova-inline-badge-field)

This package adds inline editing for the badge field in index, detail and form.

Requirements
------------

[](#requirements)

- `laravel/nova: ^5.0`

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

[](#installation)

```
composer require wamesk/laravel-nova-inline-badge-field
```

Usage
-----

[](#usage)

The usage is exactly the same as the default Badge field in Laravel Nova 4

```
use Wame\LaravelNovaInlineBadgeField\Fields\InlineBadge;

InlineBadge::make('Status')->map([
        'draft' => 'danger',
        'published' => 'success',
    ])->labels([
        'draft' => 'Draft',
        'published' => 'Published',
    ]),
```

Added additional method for setting `styles()`, e.g. to set a specific background color from database

```
    ->styles([
        'draft' => 'background-color: #ff0000;',
        'published' => 'background-color: #008000;',
    ])
```

Validation caveats
------------------

[](#validation-caveats)

In the case where fields on a model are required, which is likely, an extra step needs to be taken to ensure the inline select update persists and doesn't throw an error. The validation rule sometimes needs to be added to the updateRules() method on any field that is required.

```
BelongsTo::make(__('order.field.company'), 'company', Company::class)
    ->required()
    ->rules('required')
    ->updateRules('sometimes')
```

Authorization
-------------

[](#authorization)

If the user does not have the permission to edit the resource, nothing will happen after clicking.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance24

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

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

Every ~172 days

Total

3

Last Release

445d ago

Major Versions

1.0 → 4.x-dev2024-05-06

4.x-dev → 5.0.02025-04-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bf6ece61ae07942df38ce88eb4053d4176c6ab0bf803191953961023f25fc70?d=identicon)[WAME](/maintainers/WAME)

---

Top Contributors

[![adrianzofcin](https://avatars.githubusercontent.com/u/75702986?v=4)](https://github.com/adrianzofcin "adrianzofcin (2 commits)")[![stanislav-cervenak](https://avatars.githubusercontent.com/u/6931349?v=4)](https://github.com/stanislav-cervenak "stanislav-cervenak (1 commits)")

### Embed Badge

![Health badge](/badges/wamesk-laravel-nova-inline-badge-field/health.svg)

```
[![Health](https://phpackages.com/badges/wamesk-laravel-nova-inline-badge-field/health.svg)](https://phpackages.com/packages/wamesk-laravel-nova-inline-badge-field)
```

###  Alternatives

[ebess/advanced-nova-media-library

Laravel Nova tools for managing the Spatie media library.

6163.5M22](/packages/ebess-advanced-nova-media-library)[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)[advoor/nova-editor-js

A Laravel Nova field bringing EditorJs magic to Nova.

92219.3k3](/packages/advoor-nova-editor-js)[outl1ne/nova-page-manager

Page(s) and region(s) manager for Laravel Nova.

17947.0k](/packages/outl1ne-nova-page-manager)

PHPackages © 2026

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