html2text

PHP library to convert HTML to formatted plain text

  • 所有者: mtibben/html2text
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Html2Text

A PHP library for converting HTML to formatted plain text.

Build Status

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

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.

主要指標

概覽
名稱與所有者mtibben/html2text
主編程語言PHP
編程語言PHP (語言數: 1)
平台
許可證
所有者活动
創建於2012-06-04 04:10:34
推送於2024-08-20 02:53:07
最后一次提交2024-08-20 10:43:29
發布數15
最新版本名稱4.3.2 (發布於 )
第一版名稱1.0.0 (發布於 )
用户参与
星數578
關注者數22
派生數177
提交數146
已啟用問題?
問題數47
打開的問題數14
拉請求數45
打開的拉請求數3
關閉的拉請求數33
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?