Skip to content

Louzet/cli-colorizer

Repository files navigation

Very short description of the package

Latest Version on Packagist Build Status Quality Score

cli-colorizer is a very small library which allows you to colorize the output streams in console

Installation

You can install the package via composer:

composer require louzet/colorizer

Usage

<?php

declare(strict_types=1);

require_once 'vendor/autoload.php';

$color = new \CliColorizer\Colorizer();
echo $color->color('Mickael Louzet', $color::FOREGROUND_BROWN, $color::BACKGROUND_MAGENTA);
echo $color->color('Mickael Louzet', $color::FOREGROUND_WHITE, $color::BACKGROUND_MAGENTA);

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages