__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Html2Text
A PHP library for converting HTML to formatted plain text.
[](https://github.com/mtibben/html2text/actions/workflows/ci.yml)
## 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.
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| src | Folder | 0777 |
|
|
| README.md | File | 795 B | 0777 |
|
| composer.json | File | 546 B | 0777 |
|
| lib.php | File | 1.6 KB | 0777 |
|
| readme_moodle.txt | File | 377 B | 0777 |
|