File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 44[ ![ Php Version] ( https://img.shields.io/badge/php-%3E=7.1.0-brightgreen.svg?maxAge=2592000 )] ( https://packagist.org/packages/toolkit/cli-utils )
55[ ![ Latest Stable Version] ( http://img.shields.io/packagist/v/toolkit/cli-utils.svg )] ( https://packagist.org/packages/toolkit/cli-utils )
66
7- Some useful utils for the php CLI env.
7+ Provide some useful utils for the php CLI.
8+
9+ - Parse CLI arguments and options
10+ - Console color render
11+ - CLI env information helper
12+ - CLI code highlighter
13+ - Build simple cli application
814
915## Install
1016
@@ -47,6 +53,8 @@ Color::println('hello world', 'info');
4753Color::println('hello world', 'error');
4854Color::println('hello world', 'warning');
4955Color::println('hello world', 'success');
56+
57+ echo Color::render('hello world', 'success');
5058```
5159
5260![ colors] ( ./example/all-color-style.jpg )
You can’t perform that action at this time.
0 commit comments