visuellverstehen/html-to-rtf

A HTML to RTF converter

Maintainers

Package info

github.com/visuellverstehen/html-to-rtf

pkg:composer/visuellverstehen/html-to-rtf

Statistics

Installs: 9 182

Dependents: 0

Suggesters: 0

Stars: 1

dev-main 2022-04-06 11:58 UTC

This package is auto-updated.

Last update: 2026-02-22 17:24:52 UTC


README

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. This fork provides a Config class that introduces a way to override the default font and font-size of RTF.

Installation

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

Examples

Example can be found in examples/index.php