PHPackages                             quytvoday/htmlphpexcel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. quytvoday/htmlphpexcel

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

quytvoday/htmlphpexcel
======================

A php library based on PHPExcel to convert html tables to Excel files, including styling.

1.3(1y ago)024MITPHPPHP ^7.1

Since Aug 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/quytvoday/HtmlPhpExcel)[ Packagist](https://packagist.org/packages/quytvoday/htmlphpexcel)[ Docs](https://github.com/Ticketpark/HtmlPhpExcel)[ RSS](/packages/quytvoday-htmlphpexcel/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

HtmlPhpExcel
============

[](#htmlphpexcel)

[![Build Status](https://camo.githubusercontent.com/b9f54c875eee1d33ab6971c6acfab139baa5964d0cab33844ed1845f17ccac41/68747470733a2f2f7472617669732d63692e6f72672f5469636b65747061726b2f48746d6c506870457863656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Ticketpark/HtmlPhpExcel)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ff0040600b50e9a5ed5d4cae1d715f3a4323a313f41e7335b32159a20cb6670b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5469636b65747061726b2f48746d6c506870457863656c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Ticketpark/HtmlPhpExcel/?branch=master)

This is a php library based on [PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet) which simplifies converting html tables to excel files. It allows styling right within the html template with specific attributes.

Installation
------------

[](#installation)

Add HtmlPhpExcel to your composer.json:

```
composer require quytvoday/htmlphpexcel

```

Simple example
--------------

[](#simple-example)

```
