PHP Classes
elePHPant
Icontem

Tables for the Shell: Output tables of data rendered as text characters

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-02-20 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 320 All time: 6,845 This week: 900Up
Version License PHP version Categories
table-for-shell 1.0BSD License5.0HTML, PHP 5, Text processing, Console
Description Author

This class can output tables of data rendered as text characters.

It can compose the definition of a table adding headers, footers, rows and cells.

The class can also convert a HTML table to text formatted table.

The class can compute the table layout and return a string with table as text characters.

Innovation Award
PHP Programming Innovation award nominee
February 2014
Number 2
Sometimes it is necessary to generate text to present information in console terminals or in text newsletters.

Usually PHP applications display information using HTML, but it is not a trivial effort to represent complex page structures like tables in text format.

This class can generate tables displayed using text characters. It makes it easier to adapt PHP applications that generate HTML tables, by converting those tables to text format.

Manuel Lemos
Picture of William Sant Ana
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • printSomeValues.PNG
  • htmlTable.PNG
  • calendar.PNG
  Files folder image Files  
File Role Description
Files folder imageexamples (6 files)
Plain text file tableForShell.php Class Main Class TableForShell

 Version Control Unique User Downloads Download Rankings  
 0%
Total:320
This week:0
All time:6,845
This week:900Up
User Comments (1)
This is a very interesting class ;-)
2 years ago (José Filipe Lopes Santos)
70%StarStarStarStar