ezyang/htmlpurifier 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ezyang/htmlpurifier

最新稳定版本:v4.19.0

Composer 安装命令:

composer require ezyang/htmlpurifier

包简介

Standards compliant HTML filter written in PHP

关键字:

README 文档

README

HTML Purifier is an HTML filtering solution that uses a unique combination of robust whitelists and aggressive parsing to ensure that not only are XSS attacks thwarted, but the resulting HTML is standards compliant.

HTML Purifier is oriented towards richly formatted documents from untrusted sources that require CSS and a full tag-set. This library can be configured to accept a more restrictive set of tags, but it won't be as efficient as more bare-bones parsers. It will, however, do the job right, which may be more important.

Places to go:

  • See INSTALL for a quick installation guide
  • See docs/ for developer-oriented documentation, code examples and an in-depth installation guide.
  • See WYSIWYG for information on editors like TinyMCE and FCKeditor

HTML Purifier can be found on the web at: http://htmlpurifier.org/

Installation

Package available on Composer.

If you're using Composer to manage dependencies, you can use

$ composer require ezyang/htmlpurifier

统计信息

  • 总下载量: 308.92M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3449
  • 点击次数: 1
  • 依赖项目数: 487
  • 推荐数: 17

GitHub 信息

  • Stars: 3347
  • Watchers: 59
  • Forks: 353
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-2.1-or-later
  • 更新时间: 2026-01-04