This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Gradient Helper for Symfony Console Component

0.1.1 2020-11-30 18:16 UTC

This package is auto-updated.

Last update: 2021-05-29 01:36:17 UTC


Helper to handle gradient text with Symfony Console inspired by new features, gradient-string, tinygradient and TinyColor.

Try examples

$ git clone
$ cd console-gradient
$ composer install
$ example/demo
$ example/built-in


$ composer require stoffel/console-gradient

Usage in PHP

use Stoffel\Console\Gradient\GradientHelper;

    ->setText('Hello World!')
    ->setColors(['#FF0000', '#00FF00', '#0000FF'])