schenke-io / terminal
PHP classes for simple terminal functionality
v1.4.0
2024-10-02 07:33 UTC
Requires
- php: ^8.1
- laravel/pint: ^v1.8
- symfony/console: ^6.2|^7.0
Requires (Dev)
- phpstan/phpstan: ^1.0.0
- phpunit/phpunit: ^10.0
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