PHPackages                             cso/excel2html - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cso/excel2html

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cso/excel2html
==============

Convert Excel-sheets to their equivalent HTML-table representation

v1.1.0(1y ago)06MITHTML

Since Oct 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/cso-lindi/Excel2Html)[ Packagist](https://packagist.org/packages/cso/excel2html)[ RSS](/packages/cso-excel2html/feed)WikiDiscussions main Synced 1mo ago

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

Welcome to Excel2Html 👋
=======================

[](#welcome-to-excel2html-)

 [ ![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667) ](#)

> Genrate HTML markup from an Excel worksheet that looks perfectly alike

Install
-------

[](#install)

```
composer require cso/excel2html
```

Usage
-----

[](#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
---------

[](#run-tests)

```
./vendor/bin/phpunit --testdox tests
```

Author
------

[](#author)

👤 **Sebastian Lindemeier**

- Github: [@cso-lindi](https://github.com/cso-lindi)

Show your support
-----------------

[](#show-your-support)

Give a ⭐️ if this project helped you!

---

*This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)*

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

3

Last Release

577d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1f89e8b7f5d0650a4ded1179eed038fa6b9e7bb0feb6e673c55573b2657242f?d=identicon)[cso-lindi](/maintainers/cso-lindi)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cso-excel2html/health.svg)

```
[![Health](https://phpackages.com/badges/cso-excel2html/health.svg)](https://phpackages.com/packages/cso-excel2html)
```

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[in2code/powermail

Powermail is a well-known, editor-friendly, powerful and easy to use mailform extension for TYPO3 with a lots of features

982.5M38](/packages/in2code-powermail)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[pimcore/data-importer

Adds a comprehensive import functionality to Pimcore Datahub

44763.4k2](/packages/pimcore-data-importer)[portphp/spreadsheet

PhpSpreadsheet reader and writer for Port

14796.4k4](/packages/portphp-spreadsheet)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
