PHPackages                             ticketpark/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. ticketpark/htmlphpexcel

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

ticketpark/htmlphpexcel
=======================

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

2.3(1y ago)75343.5k↓22.7%29[2 issues](https://github.com/Ticketpark/HtmlPhpExcel/issues)4MITPHPPHP ~8.2.0|~8.3.0|~8.4.0CI passing

Since Mar 26Pushed 1y ago5 watchersCompare

[ Source](https://github.com/Ticketpark/HtmlPhpExcel)[ Packagist](https://packagist.org/packages/ticketpark/htmlphpexcel)[ Docs](https://github.com/Ticketpark/HtmlPhpExcel)[ RSS](/packages/ticketpark-htmlphpexcel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (35)Used By (4)

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

[](#htmlphpexcel)

[![Build Status](https://github.com/Ticketpark/HtmlPhpExcel/actions/workflows/ci.yml/badge.svg)](https://github.com/Ticketpark/HtmlPhpExcel/actions)

This is a php library based on [FastExcelWriter](https://github.com/aVadim483/fast-excel-writer), simplifying 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 ticketpark/htmlphpexcel

```

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

[](#simple-example)

```
