You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.6 KiB
Markdown
39 lines
1.6 KiB
Markdown
<p align="center"><img src="http://climate.thephpleague.com/img/CLImate_Blink.gif" width="300" alt="CLImate" /></p>
|
|
|
|
[](https://github.com/thephpleague/climate/tags)
|
|
[](LICENSE.md)
|
|
[](https://travis-ci.org/thephpleague/climate)
|
|
[](https://scrutinizer-ci.com/g/thephpleague/climate/code-structure)
|
|
[](https://scrutinizer-ci.com/g/thephpleague/climate)
|
|
[](https://packagist.org/packages/league/climate)
|
|
|
|
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
|
|
Using [composer](https://packagist.org/packages/league/climate):
|
|
```bash
|
|
$ composer require league/climate
|
|
```
|
|
|
|
|
|
## Quick Example
|
|
```php
|
|
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](https://joe.codes/).
|
|
Much love to [Damian Makki](https://dribbble.com/damianmakki) for the logo.
|