PHP Classes

StringGrid: Display information in plain text tables

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 543 All time: 5,570 This week: 673Up
Version License PHP version Categories
stringgrid 0.1GNU General Publi...3.0Text processing
Description 

Author

This class can be used to present information tables rendered with plain text characters.

It takes a bi-dimensional array of data and generates text that renders the data in a table aligning rows and columns.

The layout can be configure with additional information that specified details like the limit width of each column, vertical and horizontal alignment of the cells of each column, the characters used to separate rows, columns and line breaks.

Innovation Award
PHP Programming Innovation award nominee
July 2007
Number 10


Prize: One subscription to the PDF edition of the magazine by PHP Architect
Tables are useful for displaying information in cells that must be aligned with other cells simultaneously in the horizontal and vertical directions.

Tables are supported directly by HTML. However, if you need to render tables in plain text the solution is more complicated.

This package can render tables in plain text. It can be useful for displaying table formatted information, for instance to generate text e-mail newsletters.

Manuel Lemos
Picture of Jochen Preusche
Name: Jochen Preusche <contact>
Classes: 1 package by
Country: Germany Germany
Age: 45
All time rank: 3186182 in Germany Germany
Week rank: 164 Up8 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

Screenshots (2)  
  • output
  • stringGrid.png
  Files folder image Files (5)  
File Role Description
Plain text file example2.php Example example #2
Plain text file example1.php Example example #1
Plain text file class.stringGrid.php Class StringGrid class package

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:543
This week:0
All time:5,570
This week:673Up