PHPackages                             visuellverstehen/html-to-rtf - 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. visuellverstehen/html-to-rtf

ActiveLibrary

visuellverstehen/html-to-rtf
============================

A HTML to RTF converter

19.3k↓19.4%PHP

Since Apr 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/visuellverstehen/html-to-rtf)[ Packagist](https://packagist.org/packages/visuellverstehen/html-to-rtf)[ RSS](/packages/visuellverstehen-html-to-rtf/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

HTML-to-RTF-converter for PHP
=============================

[](#html-to-rtf-converter-for-php)

*Convert basic HTML output of TinyMCE to RTF with PHP*

Supported HTML:

- Text styles
    - bold
    - italic
    - undeline
    - strikethrough
- Align
    - Left
    - Center
    - Right
    - Justify
- Lists
    - Ordered
    - Unordered
- Unicode characters

This is a fork from [hermanouchoa/php-html-to-rtf-converter](https://github.com/hermanouchoa/php-html-to-rtf-converter). This fork provides a `Config` class that introduces a way to override the default font and font-size of RTF.

Installation
============

[](#installation)

```
composer require visuellverstehen/html-to-rtf:dev-master
```

Examples
========

[](#examples)

Example can be found in examples/index.php

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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/57dcd9370600b66b5ad7d99dd2b633e36d3a9458e656d650045f5f5eaf540e2d?d=identicon)[visuellverstehen](/maintainers/visuellverstehen)

---

Top Contributors

[![juripetersen](https://avatars.githubusercontent.com/u/43411515?v=4)](https://github.com/juripetersen "juripetersen (10 commits)")[![MarijnMensinga](https://avatars.githubusercontent.com/u/7206700?v=4)](https://github.com/MarijnMensinga "MarijnMensinga (9 commits)")[![Spirit-act](https://avatars.githubusercontent.com/u/16631523?v=4)](https://github.com/Spirit-act "Spirit-act (3 commits)")

### Embed Badge

![Health badge](/badges/visuellverstehen-html-to-rtf/health.svg)

```
[![Health](https://phpackages.com/badges/visuellverstehen-html-to-rtf/health.svg)](https://phpackages.com/packages/visuellverstehen-html-to-rtf)
```

PHPackages © 2026

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