stoffel / console-gradient
Gradient Helper for Symfony Console Component
0.1.1
2020-11-30 18:16 UTC
Requires
- php: ^7.4
- symfony/console: ^5.2
Requires (Dev)
- nyholm/nsa: ^1.2
- phpunit/phpunit: ^9.4
README
Helper to handle gradient text with Symfony Console inspired by new features, gradient-string, tinygradient and TinyColor.
Try examples
$ git clone git@github.com:chr-hertel/console-gradient.git
$ cd console-gradient
$ composer install
$ example/demo
$ example/built-in
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();