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

03601PHP

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 yesterday

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

Maintenance27

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity18

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://avatars.githubusercontent.com/u/19740162?v=4)[Berserkr2k](/maintainers/bers)[@Bers](https://github.com/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)
```

###  Alternatives

[cocur/background-process

Start processes in the background that continue running when the PHP process exists.

2982.0M12](/packages/cocur-background-process)[pheme/yii2-toggle-column

Provides a toggle data column and action

23815.8k10](/packages/pheme-yii2-toggle-column)[horde/kronolith

Calendar and scheduling application

101.5k5](/packages/horde-kronolith)

PHPackages © 2026

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