https://github.com/thephpleague/climate
PHP's best friend for the terminal.
https://github.com/thephpleague/climate
Last synced: about 1 month ago
JSON representation
PHP's best friend for the terminal.
- Host: GitHub
- URL: https://github.com/thephpleague/climate
- Owner: thephpleague
- License: mit
- Created: 2014-08-17T22:56:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-06T06:38:19.000Z (over 1 year ago)
- Last Synced: 2024-05-17T13:02:38.489Z (11 months ago)
- Language: PHP
- Homepage: http://climate.thephpleague.com
- Size: 1.34 MB
- Stars: 1,867
- Watchers: 55
- Forks: 123
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- my-awesome-starred - climate - PHP's best friend for the terminal. (PHP)
- awesome-php - CLImate - A library for outputting colors and special formatting. (Table of Contents / Command Line)
- awesome-php-cn - CLImate - 库输出颜色和特殊的格式. (目录 / 命令行 Command Line)
- awesome-projects - CLImate - A library for outputting colours and special formatting. (PHP / Command Line)
- php-awesome - **CLImate** - 更好的命令行输出 (类库 / CLI)
- awesome-php - CLImate - A library for outputting colors and special formatting. (Table of Contents / Command Line)
README
[](https://github.com/thephpleague/climate/tags)
[](LICENSE.md)
[](https://github.com/thephpleague/climate/actions?query=branch%3Amaster+workflow%3Abuildcheck)
[](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
The recommended method of installing this library is via [Composer](https://getcomposer.org/).
Run the following command from your project root:
```bash
$ composer require league/climate
```## Usage
```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/).
It is currently maintained and developed by [Craig Duncan](https://twitter.com/duncan3dc).
Much love to [Damian Makki](https://dribbble.com/damianmakki) for the logo.