schenke-io/terminal

PHP classes for simple terminal functionality

v1.4.0 2024-10-02 07:33 UTC

This package is auto-updated.

Last update: 2024-12-02 08:03:40 UTC


README

PHP classes for simple terminal functionality

ConsoleColor

To install just run:

  composer require schenke-io/terminal

Just call the static method and

<?php

use SchenkeIo\Terminal\ConsoleColor;

echo "Standard\n";
echo ConsoleColor::successLine('+ super !');

it will output:

Standard
+ super !

To see all styles run:

composer self-test-styles

To see all combinations try this:

composer self-test-all