northern-lights / html-tables-manager
This package is abandoned and no longer maintained.
The author suggests using the donquixote/cellbrush package instead.
[PHP] HTML Tables manager (Tablesman library) - Create and customize HTML tables
v2.1.2
2017-02-13 00:49 UTC
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-03-29 22:39:31 UTC
README
[PHP] HTML Tables manager (Tablesman)
This project is abandoned in favor of: donquixote/cellbrush
--
Do you hate HTML tables like I do? Too much complications and code for such a small thing! So I come with idea and solution. PHP Class which makes this process simple and straight forward.
Installation
composer require xzero707/html-tables-manager
or clone repo and include tablesman.class.php
Usage
Basic use (assuming class is loaded and initialized):
$table->setOption('class', 'example_table'); $table->setOption('id', 'example_table'); $table->setOption('CODE', "border='1'"); $table->create(); $table->header(array("Header #1", "Header #2", "Header #3")); $table->row(array("Foo", "Bar", "Foobar")); $table->row(array("Foo #2", "Bar #2", "Foobar #2")); $table->footer(array("", "Foobar", "")); $table->close(); echo implode("", $table->output); // Finaly flush output
For more details and examples, check out [example.php](https://github.com/xZero707/PHP-Tables-Manager/blob/master/example.php)
LICENSE AGREEMENT
Read it here: LICENSE