Skip to content

thipages/quicktable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quicktable

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);