Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdanek/table-generator
PHP library for generating simple HTML tables
https://github.com/jdanek/table-generator
Last synced: 5 days 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 (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-04T09:35:29.000Z (over 2 years ago)
- Last Synced: 2024-11-08T03:34:04.271Z (about 2 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();