andrewskm/utility-colors

List of color names for utility class generation.

Maintainers

Package info

github.com/andrewskm/utility-colors

pkg:composer/andrewskm/utility-colors

Statistics

Installs: 379

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.1 2026-02-10 18:07 UTC

This package is auto-updated.

Last update: 2026-04-10 18:34:14 UTC


README

CI Latest Stable Version License

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

Compatibility

  • PHP 8.1+

Usage

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

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