PHP Classes

PHP Tables: Generate HTML tables programmatically

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 876 All time: 4,015 This week: 488Up
Version License PHP version Categories
phptables 0.2GNU Lesser Genera...5.0HTML, PHP 5


This package can be used to generate HTML tables programmatically.

It consists of individual classes that encapsulate the functionality of tables, rows and cells.

The table class can create and manipulate objects to compose the table rows and cells, as well generate the necessary HTML when the table contents is fully composed.

Picture of Sam Barnett-Cormack
Name: Sam Barnett-Cormack <contact>
Classes: 1 package by
Country: United Kingdom
Age: ???
All time rank: 2534117 in United Kingdom
Week rank: 286 Up14 in United Kingdom Up


==What is PHP Tables?== PHP Tables is a set of PHP classes used to manage tabular data in a data-oriented fashion, and output it as HTML. ==What license is PHP Tables released under?== PHP Tables is made available under the GNU Lesser General Public License. The terms of this license are contained within the accompanying files COPYING (for the basic GNU General Public License) and COPYING.LESSER (for the additional permissions granted by the Lesser GPL). This means, essentially, that if you wish to modify or derive from PHP Tables and release this direct derivative, you should probably release it under the GPL or LGPL. However, if you merely make use of it in a larger product, you are more free in your choice of license. ==How do I use PHP Tables?== Good question. There will be documentation soon, I promise, starting with some simple examples. ==I think I can make this better. What should I do?== Well, this is open source, so you are completely free to edit the classes to create your own local version, and you're free to distribute it as long as you use a suitable license. However, if you want to improve this "official" version, then submit a patch to me. The patch should be in unidiff (diff -u) format, or submit the complete function(s) or source file(s) you've changed, along with a description of what you've changed and why. You can get these to me by emailing me - see the AUTHORS file for details. ==What other information is there?== Please read the accompanying changelog and TODO files to see what features have been added to PHP Tables, and what features are intended for the future.

  Files folder image Files  
File Role Description
Accessible without login Plain text file AUTHORS Doc. List of contributors
Accessible without login Plain text file Cell.php Class Cell class (abstract)
Accessible without login Plain text file changelog Doc. Changes between versions
Accessible without login Plain text file COPYING Lic. GNU GPL
Accessible without login Plain text file COPYING.LESSER Lic. GNU LGPL
Accessible without login Plain text file README Doc. Important information
Accessible without login Plain text file Row.php Class Row class
Accessible without login Plain text file Table.php Class Table class
Accessible without login Plain text file TODO Doc. List of things to add, development roadmap

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,015
This week:488Up