Login   Register  
PHP Classes
elePHPant
Icontem

Console: Control output of text to an ANSI console

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 874 This week: 1All time: 3,697 This week: 1,467Up
Version License PHP version Categories  
console 1.0Free for non-commercial...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: 24
All time rank: 3307 in Russian Federation Russian Federation
Week rank: 374 Down11 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%1Total:874All time:3,697
 This week:1This week:1,467Up