diff --git a/README.md b/README.md new file mode 100644 index 0000000..9cc88b3 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# phpxpress +The following code +``` + $employees = array($employee1,$employee2,$employee3); + + $table = new Table; + $table->setDataSource($employees); + $table->setCustomCaptions(array("Name", "Surname", "Date of Birth", "Social Security Number")); + $table->setStripedRows(true); + $table->setBordered(true); + $table->setHoverAnimation(true); + $table->draw(); +``` + +Produces the following output +Demo \ No newline at end of file diff --git a/phpxpress/examples/demoTable.jpg b/phpxpress/examples/demoTable.jpg new file mode 100644 index 0000000..c70fbb4 Binary files /dev/null and b/phpxpress/examples/demoTable.jpg differ