league / climate
PHP's best friend for the terminal. CLImate allows you to easily output colored text, special formats, and more.
Installs: 11 314 732
Dependents: 299
Suggesters: 8
Security: 0
Stars: 1 870
Watchers: 55
Forks: 126
Open Issues: 14
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.12
- mockery/mockery: ^1.6.12
- phpunit/phpunit: ^9.5.10
- squizlabs/php_codesniffer: ^3.10
Suggests
- ext-mbstring: If ext-mbstring is not available you MUST install symfony/polyfill-mbstring
- dev-main
- 3.10.0
- 3.9.0
- 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-version-4-wip
- 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-11-24 11:48:04 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.