Skip to content

Commit e4c2f75

Browse files
authored
Update README.md
1 parent ca67d60 commit e4c2f75

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
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');
4753
Color::println('hello world', 'error');
4854
Color::println('hello world', 'warning');
4955
Color::println('hello world', 'success');
56+
57+
echo Color::render('hello world', 'success');
5058
```
5159

5260
![colors](./example/all-color-style.jpg)

0 commit comments

Comments
 (0)