league / climate
PHP's best friend for the terminal. CLImate allows you to easily output colored text, special formats, and more.
Installs: 10 912 167
Dependents: 299
Suggesters: 8
Security: 0
Stars: 1 867
Watchers: 55
Forks: 123
Open Issues: 26
Requires
- php: ^7.3 || ^8.0
- psr/log: ^1.0 || ^2.0 || ^3.0
- seld/cli-prompt: ^1.0
Requires (Dev)
- mikey179/vfsstream: ^1.6.10
- mockery/mockery: ^1.4.2
- phpunit/phpunit: ^9.5.10
Suggests
- ext-mbstring: If ext-mbstring is not available you MUST install symfony/polyfill-mbstring
- dev-master
- 3.8.2
- 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-actions
- dev-countdown
- dev-interactive-mode
- dev-progress-each
- dev-commands
- dev-allow-padding-br
- dev-array-output
This package is auto-updated.
Last update: 2024-09-18 19:09:06 UTC
README
Running PHP from the command line? CLImate is your new best bud.
CLImate allows you to easily output colored text, special formats, and more.
Installation
The recommended method of installing this library is via Composer.
Run the following command from your project root:
$ composer require league/climate
Usage
require_once __DIR__ . "/vendor/autoload.php"; $climate = new \League\CLImate\CLImate; $climate->red('Whoa now this text is red.'); $climate->blue('Blue? Wow!');
Read more at https://climate.thephpleague.com/
Credits
This library was created by Joe Tannenbaum.
It is currently maintained and developed by Craig Duncan.
Much love to Damian Makki for the logo.