joetannenbaum / climate
3.8.1
2022-01-23 14:38 UTC
Requires
- php: ^7.3 || ^8.0
- psr/log: ^1.0
- seld/cli-prompt: ^1.0
Requires (Dev)
- mikey179/vfsstream: ^1.4
- mockery/mockery: ^1.4.2
- phpunit/phpunit: ^9.5.0
Suggests
- ext-mbstring: If ext-mbstring is not available you MUST install symfony/polyfill-mbstring
- dev-master
- 3.8.1
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.1
- 3.4.0
- 3.3.0
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.0
- 2.6.1
- 2.6.0
- 2.5.0
- 2.4.1
- 2.4.0
- 2.3.1
- 2.3.0
- 2.1.1
- 2.1.0
- 2.0.0
- 1.0.2
- 1.0.1
- 1.0.0
- 0.2.0
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-countdown
- dev-version-4-wip
- dev-progress-each
- dev-commands
- dev-allow-padding-br
- dev-array-output
This package is not auto-updated.
Last update: 2022-02-01 12:38:37 UTC
README
在命令行运行 PHP 吗?CLImate 是您的新最佳伙伴。
CLImate 允许您轻松输出带颜色的文本、特殊格式等。
安装
推荐通过 Composer 安装此库。
从项目根目录运行以下命令
$ composer require league/climate
用法
require_once __DIR__ . "/vendor/autoload.php"; $climate = new \League\CLImate\CLImate; $climate->red('Whoa now this text is red.'); $climate->blue('Blue? Wow!');
更多信息请参阅 https://climate.thephpleague.com/
致谢
此库由 Joe Tannenbaum 创建。
目前由 Craig Duncan 维护和开发。
感谢 Damian Makki 为我们提供了标志。