PHPackages                             bersyatina/htmltoopenxml - 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. bersyatina/htmltoopenxml

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

bersyatina/htmltoopenxml
========================

Convert HTML to OpenOfficeXML

03381PHP

Since Aug 15Pushed 1y agoCompare

[ Source](https://github.com/bersyatina/HTMLtoOpenXML)[ Packagist](https://packagist.org/packages/bersyatina/htmltoopenxml)[ RSS](/packages/bersyatina-htmltoopenxml/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

H2OXML : HTML to OpenXML Converter
==================================

[](#h2oxml--html-to-openxml-converter)

Forked from

A simple PHP script supporting php 8.3 that takes HTML code and converts it into open XML code. (for Docx)

INSTALLATION
============

[](#installation)

`composer require bersyatina/htmltoopenxml`

WHAT H2OXML CAN DO
==================

[](#what-h2oxml-can-do)

For now it can deal with :

- Paragraphs
- Bold, italic and underlined text (&lt;strong|b|em|i|u&gt;)
- Bullet lists

Many more can be done (the wysiwyg editor had only simple functions)

HOW TO USE IT
=============

[](#how-to-use-it)

```
$parser = new HTMLtoOpenXML\Parser();

$ooXml = $parser->fromHTML($html);

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2bc2175276f306f9d584fc9f16788e0c77dbe75f8bc6caeef4e55b50611c482?d=identicon)[bers](/maintainers/bers)

---

Top Contributors

[![bersyatina](https://avatars.githubusercontent.com/u/72123201?v=4)](https://github.com/bersyatina "bersyatina (3 commits)")[![ffmad](https://avatars.githubusercontent.com/u/1488633?v=4)](https://github.com/ffmad "ffmad (2 commits)")

### Embed Badge

![Health badge](/badges/bersyatina-htmltoopenxml/health.svg)

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

PHPackages © 2026

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