Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thephpleague/climate
PHP's best friend for the terminal.
https://github.com/thephpleague/climate
Last synced: about 2 months 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 (about 1 year ago)
- Last Synced: 2024-05-17T13:02:38.489Z (7 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
[![Latest Version](https://img.shields.io/github/tag/thephpleague/climate.svg?style=flat&label=release)](https://github.com/thephpleague/climate/tags)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.md)
[![Build Status](https://github.com/thephpleague/climate/workflows/.github/workflows/buildcheck.yml/badge.svg?branch=master)](https://github.com/thephpleague/climate/actions?query=branch%3Amaster+workflow%3Abuildcheck)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/thephpleague/climate.svg?style=flat)](https://scrutinizer-ci.com/g/thephpleague/climate/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/thephpleague/climate.svg?style=flat)](https://scrutinizer-ci.com/g/thephpleague/climate)
[![Total Downloads](https://img.shields.io/packagist/dt/league/climate.svg?style=flat)](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.