PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 927 This week: 1All time: 3,852 This week: 560Up
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 is available for providing paid consulting. Contact Alex B. Snet .
Classes: 6 packages by
Country: Russian Federation Russian Federation
Age: 34
All time rank: 3459 in Russian Federation Russian Federation
Week rank: 411 Down22 in Russian Federation Russian Federation Down
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:927
This week:1
All time:3,852
This week:560Up