PHPackages                             andrewskm/utility-colors - 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. andrewskm/utility-colors

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

andrewskm/utility-colors
========================

List of color names for utility class generation.

v0.1.2(1mo ago)0450↓80.5%MITPHPPHP &gt;=8.1CI passing

Since Apr 21Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/andrewskm/utility-colors)[ Packagist](https://packagist.org/packages/andrewskm/utility-colors)[ Docs](https://github.com/andrewskm/utility-colors)[ RSS](/packages/andrewskm-utility-colors/feed)WikiDiscussions main Synced 3d ago

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

Utility Colors
==============

[](#utility-colors)

[![CI](https://github.com/andrewskm/utility-colors/actions/workflows/ci.yml/badge.svg)](https://github.com/andrewskm/utility-colors/actions/workflows/ci.yml?query=branch%3Amain)[![Latest Stable Version](https://camo.githubusercontent.com/6c377c31a57c964c109a2fe6997c21377869f87cfdab91adb86e6cc01257f8ff/68747470733a2f2f706f7365722e707567782e6f72672f616e64726577736b6d2f7574696c6974792d636f6c6f72732f762f737461626c65)](https://packagist.org/packages/andrewskm/utility-colors)[![License](https://camo.githubusercontent.com/41a344c8119623afeca3d42fa78d2a4aed990629d0d3bdade12669bdf3832d44/68747470733a2f2f706f7365722e707567782e6f72672f616e64726577736b6d2f7574696c6974792d636f6c6f72732f6c6963656e7365)](https://github.com/andrewskm/utility-colors/blob/main/LICENSE)

A basic package that lists color names and allows the building of utility classes in PHP.

Compatibility
-------------

[](#compatibility)

- PHP 8.1+

### Usage

[](#usage)

Create a list of background utility classes with a shade of 300

```
$list = array_map(
    fn($case) => $case->build('bg', 300),
    UtilityColor::cases()
);
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance91

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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.

###  Release Activity

Cadence

Every ~198 days

Total

3

Last Release

44d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/874d0b721211d2886107a179605890075187497242bdf554ad886be026986d5a?d=identicon)[andrewskm](/maintainers/andrewskm)

---

Top Contributors

[![andrewskm](https://avatars.githubusercontent.com/u/18683087?v=4)](https://github.com/andrewskm "andrewskm (16 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/andrewskm-utility-colors/health.svg)

```
[![Health](https://phpackages.com/badges/andrewskm-utility-colors/health.svg)](https://phpackages.com/packages/andrewskm-utility-colors)
```

###  Alternatives

[tobion/retry

A generic library to retry an operation in case of an error. You can configure the behavior like the exceptions to retry on.

16480.3k](/packages/tobion-retry)[koalafacade/filament-alertbox

Alert box field for Filament forms

2339.8k](/packages/koalafacade-filament-alertbox)

PHPackages © 2026

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