fignon / terminal
Terminal allow to simply log and display beautiful messages in the terminal
0.0.1
2024-02-16 11:14 UTC
README
Primary use case is to display messages in terminal with a nice look.
See Fignon Framework for use case.
Installation
composer require fignon/terminal
Usage
use Fignon\Extra\Terminal; $terminal = new Terminal(); $terminal->write('Hello World'); // Make a frame around the message with a color $terminal->log($terminal->frame("Chinese: 你好,世界! (Nǐ hǎo, shìjiè!)"), 'cyan', ['bold']);