fignon/terminal

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

Maintainers

Package info

github.com/FignonPhp/terminal

Documentation

pkg:composer/fignon/terminal

Statistics

Installs: 7

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

0.0.1 2024-02-16 11:14 UTC

This package is auto-updated.

Last update: 2026-03-16 17:41:38 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']);