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

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

rkorebrits/htmltoopenxml
========================

Convert HTML to OpenOfficeXML

0.1.9(7y ago)13115.5k—8.9%15[1 PRs](https://github.com/rkorebrits/HTMLtoOpenXML/pulls)1LGPL-3.0PHPPHP ^5.4 || ^7.0 || ^7.1 || ^7.2

Since Apr 20Pushed 2y ago3 watchersCompare

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

READMEChangelog (10)DependenciesVersions (12)Used By (1)

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

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

Forked from

Simple PHP script which take HTML code and transform it into OpenXML Code. (for Docx)

This is the very first version. I coded this because i wanted to put text from a WYSIWYG editor into a .docx document.

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

[](#installation)

`composer require rkorebrits/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

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% 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.

###  Release Activity

Cadence

Every ~16 days

Total

10

Last Release

2798d ago

PHP version history (4 changes)0.1PHP ^5.3.3 || ^7.0

0.1.1PHP ^7.0 || ^7.1 || ^7.2

0.1.2PHP ^5.3.3 || ^7.0 || ^7.1 || ^7.2

0.1.3PHP ^5.4 || ^7.0 || ^7.1 || ^7.2

### Community

Maintainers

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

---

Top Contributors

[![rkorebrits](https://avatars.githubusercontent.com/u/3765592?v=4)](https://github.com/rkorebrits "rkorebrits (5 commits)")[![crsohara](https://avatars.githubusercontent.com/u/2795606?v=4)](https://github.com/crsohara "crsohara (1 commits)")[![esther-kfactor](https://avatars.githubusercontent.com/u/138565259?v=4)](https://github.com/esther-kfactor "esther-kfactor (1 commits)")[![ffmad](https://avatars.githubusercontent.com/u/1488633?v=4)](https://github.com/ffmad "ffmad (1 commits)")

---

Tags

htmlOOXML

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-html

A fluent html builder

8376.4M72](/packages/spatie-laravel-html)[ckeditor/ckeditor

JavaScript WYSIWYG web text editor.

5234.2M76](/packages/ckeditor-ckeditor)[caxy/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

21520.9M15](/packages/caxy-php-htmldiff)[yajra/laravel-datatables-html

Laravel DataTables HTML builder plugin

2899.6M48](/packages/yajra-laravel-datatables-html)[wa72/htmlpagedom

jQuery-inspired DOM manipulation extension for Symfony's Crawler

3383.9M34](/packages/wa72-htmlpagedom)[tinymce/tinymce

Web based JavaScript HTML WYSIWYG editor control.

1697.5M106](/packages/tinymce-tinymce)

PHPackages © 2026

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