2017 © Pedro Peláez
 

library html2text

Converts HTML to formatted plain text

image

html2text/html2text

Converts HTML to formatted plain text

  • Thursday, April 12, 2018
  • by mtibben
  • Repository
  • 23 Watchers
  • 297 Stars
  • 1,789,106 Installations
  • PHP
  • 42 Dependents
  • 0 Suggesters
  • 119 Forks
  • 10 Open issues
  • 13 Versions
  • 15 % Grown

The README.md

Html2Text

A PHP library for converting HTML to formatted plain text., (*1)

Build Status, (*2)

Installing

composer require html2text/html2text

Basic Usage

$html = new \Html2Text\Html2Text('Hello, &quot;<b>world</b>&quot;');

echo $html->getText();  // Hello, "WORLD"

History

This library started life on the blog of Jon Abernathy http://www.chuggnutt.com/html2text, (*3)

A number of projects picked up the library and started using it - among those was RoundCube mail. They made a number of updates to it over time to suit their webmail client., (*4)

Now it has been extracted as a standalone library. Hopefully it can be of use to others., (*5)

The Versions

12/04 2018

dev-master

9999999-dev

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

15/05 2017

4.1.0

4.1.0.0

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

17/03 2016

4.0.1

4.0.1.0

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

22/02 2016

4.0.0

4.0.0.0

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

22/02 2016

dev-use_mb_funcs

dev-use_mb_funcs

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

22/02 2016

3.1.0

3.1.0.0

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

12/10 2015

dev-add-php-7-to-travis

dev-add-php-7-to-travis

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

12/10 2015

3.0.0

3.0.0.0

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

22/03 2015

dev-marlon-be/ol

dev-marlon-be/ol

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

29/01 2015

2.0.1

2.0.1.0

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

18/10 2014

2.0.0

2.0.0.0

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

06/06 2014

1.0.1

1.0.1.0

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires

26/12 2013

1.0.0

1.0.0.0

Converts HTML to formatted plain text

  Sources   Download

GPLv2

The Development Requires