PHPackages                             stoffel/console-gradient - 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. [CLI &amp; Console](/categories/cli)
4. /
5. stoffel/console-gradient

ActiveLibrary[CLI &amp; Console](/categories/cli)

stoffel/console-gradient
========================

Gradient Helper for Symfony Console Component

0.1.1(5y ago)0541MITPHPPHP ^7.4

Since Oct 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/chr-hertel/console-gradient)[ Packagist](https://packagist.org/packages/stoffel/console-gradient)[ RSS](/packages/stoffel-console-gradient/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (1)

Console Gradient
================

[](#console-gradient)

Helper to handle gradient text with Symfony Console inspired by [new features](https://symfony.com/blog/new-in-symfony-5-2-true-colors-in-the-console), [gradient-string](https://github.com/bokub/gradient-string), [tinygradient](https://github.com/mistic100/tinygradient) and [TinyColor](https://github.com/bgrins/TinyColor).

[![](examples.png)](examples.png)

Try examples
------------

[](#try-examples)

```
$ git clone git@github.com:chr-hertel/console-gradient.git
$ cd console-gradient
$ composer install
$ example/demo
$ example/built-in
```

Usage
-----

[](#usage)

```
$ composer require stoffel/console-gradient
```

Usage in PHP

```
use Stoffel\Console\Gradient\GradientHelper;

GradientHelper::create($output)
    ->setText('Hello World!')
    ->setColors(['#FF0000', '#00FF00', '#0000FF'])
    ->write();
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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 ~51 days

Total

2

Last Release

1994d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e644c6c1e90b7d997edd1c25da41c48a76d89b7449fb5788214b341e2cd1a019?d=identicon)[chr-hertel](/maintainers/chr-hertel)

---

Top Contributors

[![chr-hertel](https://avatars.githubusercontent.com/u/2852185?v=4)](https://github.com/chr-hertel "chr-hertel (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stoffel-console-gradient/health.svg)

```
[![Health](https://phpackages.com/badges/stoffel-console-gradient/health.svg)](https://phpackages.com/packages/stoffel-console-gradient)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1441.3k](/packages/shel-neos-terminal)

PHPackages © 2026

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