ColorConsole customized https://github.com/kevinlebrun/colors.php/ for Olive: color.php
license: (The MIT License) Copyright (c) 2018 Kevin Le Brun lebrun.k@gmail.com
Install the latest version with
$ composer require olive-cms/colorconsole
require_once 'vendor/autoload.php';
use Olive\Tools\ColorConsole;
echo ColorConsole::render(
'Your Message',
[
'color' => 'magenta',
'background' => 'white',
'style' => ['bold', 'reverse'],
'align' => 'center'
]
);
- PHP 5.5+.
olive-cms/colorconsole is licensed under the MIT license.