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 All time: 3,853 This week: 455Up
Version License PHP version Categories
console 1.0Free for non-comm...5.0PHP 5, Console


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: 3469 in Russian Federation Russian Federation
Week rank: 328 Up12 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  
This week:0
All time:3,853
This week:455Up