schenke-io / terminal
PHP classes for simple terminal functionality
Installs: 35
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/schenke-io/terminal
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