PHPackages                             websetgo/table-tool - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. websetgo/table-tool

ActiveLibrary[Templating &amp; Views](/categories/templating)

websetgo/table-tool
===================

A class to assist in the rendering of HTML tables.

06PHP

Since Aug 11Pushed 11y ago1 watchersCompare

[ Source](https://github.com/DeanWard/TableTool)[ Packagist](https://packagist.org/packages/websetgo/table-tool)[ RSS](/packages/websetgo-table-tool/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

\#TableTool

\###What is it? TableTool is a php class that assists in the creation and rendering of html tables.

\###How do I use it? Once you have installed it using composer you can use it like so:

```
//default table with no attributes
$table = new Table();

//define the table's class (in this case, a bootstrap table)
$table = new Table(
  array(
      "class" => "table table-bordered table-rounded"
    )
 );

//add a row to the table
$table->addRow(array('Gecko', 'Firefox 1.0', 'Win 98+ / OSX.2+',  '1.7', 'A'));

//add a header row to the table
$table->addRow(array('Engine','Browser','User Agent','version', 'CSS Grade'),null,'head');

//the null parameter above can be used in the same was as the table constructor to pass attributes to the row
$table->addRow(array('Engine','Browser','User Agent','version', 'CSS Grade'),array("style" => "background:red;"),'head');
//or on a body row
$table->addRow(array('Engine','Browser','User Agent','version', 'CSS Grade'),array("style" => "background:red;"));

//output the table to the page
echo $table->render();
```

\###Why is the outputted html all on one line? The `render()` method does not care about witespace between elements, indenting, or anything else like that. It will output valid html but it will not try to make it pretty.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/397670?v=4)[Dean Ward](/maintainers/DeanWard)[@DeanWard](https://github.com/DeanWard)

---

Top Contributors

[![DeanWard](https://avatars.githubusercontent.com/u/397670?v=4)](https://github.com/DeanWard "DeanWard (2 commits)")

### Embed Badge

![Health badge](/badges/websetgo-table-tool/health.svg)

```
[![Health](https://phpackages.com/badges/websetgo-table-tool/health.svg)](https://phpackages.com/packages/websetgo-table-tool)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.1k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.3k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

282.2k](/packages/webkinder-sproutset)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
