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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?