PHP Better Console Color
A simpler version of the original PHP Console Color.
Installation
composer require powerclonic/better-console-color
Usage
You can see usage examples in the examples.php
file
List of custom colors:
Foreground:
Background:
Avaliable colors:
These are the colors that you can use directly
Foreground:
blackText
redText
greenText
yellowText
magentaText
cyanText
whiteText
lightGrayText
darkGrayText
lightRedText
lightGreenText
lightYellowText
lightBlueText
lightMagentaText
lightCyanText
Backgronund
blackBg
redBg
greenBg
yellowBg
magentaBg
cyanBg
whiteBg
lightGrayBg
darkGrayBg
lightRedBg
lightGreenBg
lightYellowBg
lightBlueBg
lightMagentaBg
lightCyanBg
Other colors can be used with the applyCustomColor
method