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.

21 lines
854 B
Markdown

# ConsoleOutput
__PHP managers for console (CLI) outputting__
![last release](https://badgen.net/packagist/v/darkelfe14728/console-output?label=Last%20release)
![licence](https://badgen.net/packagist/license/darkelfe14728/console-output?color=red)
![nb releases](https://badgen.net/packagist/dt/darkelfe14728/console-output?color=green)
## Installation
```
composer require darkelfe14728/console-output
```
## Description
Classes to manage text output (to STDOUT by default, but customizable). Use ``Registry`` to manage global-level singletons.
``ConsoleOutputHandler`` is a handler for [Monolog](https://packagist.org/packages/monolog/monolog)
## Indentation
``ConsoleOutput`` manage automatic text indentation through groups. A group represent one level of indentation.
If a group has a name, the all group lines will be surronded by its name.