PHPackages                             yhjohn/color-tag - 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. yhjohn/color-tag

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

yhjohn/color-tag
================

A Laravel Nova field.

08Vue

Since Aug 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/yhjohn/nova-color-tag)[ Packagist](https://packagist.org/packages/yhjohn/color-tag)[ RSS](/packages/yhjohn-color-tag/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Color tag field for Laravel nova
================================

[](#color-tag-field-for-laravel-nova)

[![screenshot 1](https://user-images.githubusercontent.com/9361382/63682599-e18ff380-c82a-11e9-91fe-c709132f96a0.png)](https://user-images.githubusercontent.com/9361382/63682599-e18ff380-c82a-11e9-91fe-c709132f96a0.png)

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

[](#installation)

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

```
composer require yhjohn/nova-color-tag
```

Usage
-----

[](#usage)

Just define your field as you normally would and in addition, pass in array of colors as the using the colors method,

Example

```
// ...
use Yhjohn\ColorTag\ColorTag;

public function fields(Request $request)
{
    return [
        // ...
        ColorTag::make('Color')->colors(['#FF0000', '#FFCC00']),
    ];
}
```

You can also pass in any valid HTML [Color Names](https://www.w3schools.com/colors/colors_names.asp)

```
ColorTag::make('Color')->colors(['AliceBlue', 'Cornsilk']),
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ca84ebdc8fcc4e3419fd7b0ec4f4f816fb9ee755b88b1c324dbfe34977054cb?d=identicon)[yhjohn](/maintainers/yhjohn)

---

Top Contributors

[![yhjohn](https://avatars.githubusercontent.com/u/9361382?v=4)](https://github.com/yhjohn "yhjohn (1 commits)")

### Embed Badge

![Health badge](/badges/yhjohn-color-tag/health.svg)

```
[![Health](https://phpackages.com/badges/yhjohn-color-tag/health.svg)](https://phpackages.com/packages/yhjohn-color-tag)
```

PHPackages © 2026

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