Registry / utility / sensiolabs-ansi-to-html

sensiolabs-ansi-to-html

JSON →
library2.0.0phppackagistunverified

A library to convert text with ANSI codes to HTML for terminal output rendering.

composer require sensiolabs/ansi-to-html
INSTALL
IMPORT
SIG · SENSIOLABS-ANSI-TO
S
sensiolabs-ansi-to-html
utilityphpv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AnsiToHtml
use SensioLabs\AnsiToHtml\AnsiToHtml;

Convert ANSI-colored text to HTML.

use SensioLabs\AnsiToHtml\AnsiToHtml; $converter = new AnsiToHtml(); echo $converter->convert("\033[31mRed text\033[0m");
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
sensiolabs-ansi-to-html — pip install sensiolabs-ansi-to-html · libregistry