PHPackages                             upline/row-background - 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. upline/row-background

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

upline/row-background
=====================

Field to set row background.

0.2.1(5y ago)08.1k↓50%MITVuePHP &gt;=7.1.0

Since Oct 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/vaiil/laravel-nova-row-background)[ Packagist](https://packagist.org/packages/upline/row-background)[ RSS](/packages/upline-row-background/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Laravel Nova field to set background for resource rows
======================================================

[](#laravel-nova-field-to-set-background-for-resource-rows)

Set background color to resource row and auto choose white or black text color.

Usage
-----

[](#usage)

Add to your resource file:

```
use Upline\RowBackground\RowBackground;
```

and field to fields section

```
RowBackground::make('Background color')->onlyOnIndex();
```

or (to set text color)

```
 RowBackground::make('Background color', function ($model) {
    return new RowBackgroundData($model->background_color, $model->text_color);
})->onlyOnIndex();
```

**Note:**
This package works pretty tricky:
It deletes a column that nova adds to index view.
If you know better ways to set row styles, please write me.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

3

Last Release

2039d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2049573?v=4)[vail](/maintainers/vail)[@Vail](https://github.com/Vail)

---

Top Contributors

[![vaiil](https://avatars.githubusercontent.com/u/3755615?v=4)](https://github.com/vaiil "vaiil (13 commits)")

---

Tags

laravelfieldnovarowbackground color

### Embed Badge

![Health badge](/badges/upline-row-background/health.svg)

```
[![Health](https://phpackages.com/badges/upline-row-background/health.svg)](https://phpackages.com/packages/upline-row-background)
```

###  Alternatives

[timothyasp/nova-color-field

A Laravel Nova Color Picker field.

781.6M5](/packages/timothyasp-nova-color-field)[alexwenzel/nova-dependency-container

A Laravel Nova 4 form container for grouping fields that depend on other field values.

461.0M2](/packages/alexwenzel-nova-dependency-container)[simplesquid/nova-enum-field

A Laravel Nova field to add enums to resources.

52391.9k2](/packages/simplesquid-nova-enum-field)[outhebox/nova-hidden-field

A Laravel Nova Hidden field.

33562.2k1](/packages/outhebox-nova-hidden-field)[sietse85/nova-button

(Nova 4+) A Laravel Nova package for adding buttons to your resources.

37347.3k](/packages/sietse85-nova-button)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)

PHPackages © 2026

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