PHP Classes
elePHPant
Icontem

Console: Control output of text to an ANSI console

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-12-01 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 908 All time: 3,756 This week: 1,109Up
Version License PHP version Categories
console 1.0Free for non-comm...5.0PHP 5, Console
Description Author

This class can be used to control the output of text to an ANSI console.

It can assemble control characters that can control aspects of different of formatting the output of text to consoles like background and foreground colors, character positioning, etc..

The class can also read formatted text or number from the console input.

Innovation Award
PHP Programming Innovation award nominee
November 2008
Number 6


Prize: One book of choice by Apress
Many console terminal programs support ANSI control character sequences for performing several types of operations to control the terminal, such as positioning the cursor, changing text styles, foreground and background colors, beeping, etc..

This class can simplify the control of output to ANSI terminals by providing functions to send the necessary characters to control each output aspect from PHP.

Manuel Lemos
Picture of Alex B. Snet
Name: Alex B. Snet <contact>
Classes: 6 packages by
Country: Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file console.class.php Class Same class

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:908
This week:0
All time:3,756
This week:1,109Up