%PDF- %PDF-
Direktori : /var/www/projetos/suporte.iigd.com.br/vendor/html2text/html2text/ |
Current File : /var/www/projetos/suporte.iigd.com.br/vendor/html2text/html2text/README.md |
# Html2Text A PHP library for converting HTML to formatted plain text. [![Build Status](https://travis-ci.org/mtibben/html2text.png?branch=master)](https://travis-ci.org/mtibben/html2text) ## Installing ``` composer require html2text/html2text ``` ## Basic Usage ```php $html = new \Html2Text\Html2Text('Hello, "<b>world</b>"'); echo $html->getText(); // Hello, "WORLD" ``` ## History This library started life on the blog of Jon Abernathy http://www.chuggnutt.com/html2text 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. Now it has been extracted as a standalone library. Hopefully it can be of use to others.