fignon/terminal

Terminal allow to simply log and display beautiful messages in the terminal

Installs: 7

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/fignon/terminal

0.0.1 2024-02-16 11:14 UTC

This package is auto-updated.

Last update: 2025-10-16 16:48:44 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']);