visuellverstehen/html-to-rtf

A HTML to RTF converter

Installs: 8 243

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 13

pkg:composer/visuellverstehen/html-to-rtf

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

This package is auto-updated.

Last update: 2025-09-22 16:01:41 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