Go to file
Buddhism8003 29ace8a0c3 useless attribute check removed 2024-10-13 19:51:18 +02:00
src useless attribute check removed 2024-10-13 19:51:18 +02:00
tests 1.0 2024-10-13 15:13:54 +02:00
.gitignore added .gitignore 2024-10-13 15:13:44 +02:00
LICENSE added license 2024-10-13 15:22:43 +02:00
README.md added readme 2024-10-13 16:04:09 +02:00
composer.json added readme 2024-10-13 16:04:09 +02:00
composer.lock 1.0 2024-10-13 15:13:54 +02:00
index.php 1.0 2024-10-13 15:13:54 +02:00

README.md

Welcome to Excel2Html 👋

License: MIT

Genrate HTML markup from an Excel worksheet that looks perfectly alike

Install

composer require cso/excel2html

Usage

$conv = HtmlConverter::fromFilepath(
    'tests/assets/test.xlsx', 
    styleOption: StyleOptions::TABLE_SIZE_FIXED | StyleOptions::WITH_COLUMN_WIDTH | StyleOptions::COLUMN_WIDTH_PROPORTIONAL, 
    worksheetName:'TestTable', 
    columns:['A', 'B', 'C', 'D', 'E', 'F'],
    scale: 1.1);

echo $conv->getHtml();

Run tests

./vendor/bin/phpunit --testdox tests

Author

👤 Sebastian Lindemeier

Show your support

Give a if this project helped you!


This README was generated with ❤️ by readme-md-generator