league/climate
PHP's best friend for the terminal. CLImate allows you to easily output colored text, special formats, and more.
Maintainers
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.6.21
- squizlabs/php_codesniffer: ^3.10
Suggests
- ext-mbstring: If ext-mbstring is not available you MUST install symfony/polyfill-mbstring
Provides
None
Conflicts
None
Replaces
None
MIT 66f14fb99570673597856575dfd9a48984fe49b0
- Joe Tannenbaum <hey.woop@joe.codes>
- Craig Duncan <git.woop@duncanc.co.uk>
This package is auto-updated.
Last update: 2026-06-09 12:19:34 UTC
README
👁 Latest Version
👁 Software License
👁 Build Status
👁 Coverage Status
👁 Quality Score
👁 Total Downloads
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.
