Download the PHP package jeremiah-shaulov/html-to-vt100 without Composer
On this page you can find all versions of the php package jeremiah-shaulov/html-to-vt100. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jeremiah-shaulov/html-to-vt100
More information about jeremiah-shaulov/html-to-vt100
Files in jeremiah-shaulov/html-to-vt100
Download jeremiah-shaulov/html-to-vt100
More information about jeremiah-shaulov/html-to-vt100
Files in jeremiah-shaulov/html-to-vt100
Vendor jeremiah-shaulov
Package html-to-vt100
Short Description Convert HTML to VT100 terminal codes, to print colored and styled messages
License MIT
Homepage https://github.com/jeremiah-shaulov/html-to-vt100
Package html-to-vt100
Short Description Convert HTML to VT100 terminal codes, to print colored and styled messages
License MIT
Homepage https://github.com/jeremiah-shaulov/html-to-vt100
Please rate this library. Is it a good library?
Informations about the package html-to-vt100
html-to-vt100
Convert HTML to VT100 terminal codes, to print colored and styled messages.
Installation
Create a directory for your application, cd
to it, and issue:
Example
CLI applications can echo messages to terminal. Web applications can write them to error log, or to a custom log file, and then view it with
The written file can be then converted to HTML and presented in browser:
What supported
Limited subset of HTML is supported:
<br>
<b>bold</b>
<i>italic</i>
<u>underlined</u>
<blink>blink</blink>
- Most modern terminals don't support this.<em>inverse fg/bg</em>
<span style="color: magenta">
- Produces classic escape codes for black, red, green, yellow, blue, magenta, cyan and white. For other HTML colors - nonclassic.<span style="color: #AABBCC">
- Produces nonclassic escape codes.<span style="background-color: magenta">
<span style="background-color: #AABBCC">
<b>bold <span style="font-weight: normal">normal</span></b>
<i>italic <span style="font-style: normal">normal</span></i>
<u>underlined <span style="text-decoration: none">normal</span></u>
<font color=blue>blue</font>
API
Namespace Vt100 contains one class called Vt100 with 2 static functions:
All versions of html-to-vt100 with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package jeremiah-shaulov/html-to-vt100 contains the following files
Loading the files please wait ....