thipages/quicktable

Quick html table builder

v0.5.0 2020-07-30 07:27 UTC

This package is auto-updated.

Last update: 2024-05-10 04:53:16 UTC


README

Quick Html Table builder

Installation

composer require thipages\quicktable

Usage of QTable class

through the static method create

    create($headers,$cells,tableAttributes=[]);

Example

$data=[
    ['Lucien',23],
    ['Paul',12],
    ['Hippolyte ',3]
];
$table=QTable::create(
    ['name','age'],
    $data,
    ['border'=>1]
);
echo($table);