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 26% of packages

Maintenance34

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

622d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/184841684?v=4)[cso-lindi](/maintainers/cso-lindi)[@cso-lindi](https://github.com/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

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[civicrm/civicrm-core

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

751291.4k43](/packages/civicrm-civicrm-core)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k18](/packages/solspace-craft-freeform)[pimcore/data-importer

Adds a comprehensive import functionality to Pimcore Datahub

46855.5k5](/packages/pimcore-data-importer)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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