https://github.com/jdanek/table-generator
PHP library for generating simple HTML tables
https://github.com/jdanek/table-generator
Last synced: 5 months ago
JSON representation
PHP library for generating simple HTML tables
- Host: GitHub
- URL: https://github.com/jdanek/table-generator
- Owner: jDanek
- License: mit
- Created: 2022-03-26T22:24:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-04T09:35:29.000Z (about 3 years ago)
- Last Synced: 2024-12-30T15:45:18.791Z (6 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
TableGenerator
##############PHP library for generating simple HTML tables
.. contents::
Requirements
************- PHP 7.1+
Usage example
*************.. code:: php
setHeaderColumns(['#', 'Name', 'Category', 'Autor']);
$gen->setBodyRows([
[1, 'Lorem ipsum', 'Foo', 'John Doe'],
[2, 'Sed ut perspiciatis', 'Bar', 'Jane Down'],
]);echo $gen->render();