milqmedia/htmlpurifier

此包已被放弃且不再维护。没有建议的替代包。

提供HTMLPurifier库完整集成的Zend Framework 3模块

1.2 2016-11-07 16:10 UTC

This package is not auto-updated.

Last update: 2023-02-06 21:37:19 UTC


README

Build Status

MQHtmlPurifier是一个模块,它将HTMLPurifier过滤器库与Zend Framework 2集成。

安装

  1. "repositories": [ { "type": "vcs", "url": "https://github.com/milqmedia/MQHtmlPurifier" }]添加到您的composer.json文件中。
  2. "milqmedia/mq-htmlpurifier": "dev-master"添加到您的composer.json文件中,并运行php composer.phar update
  3. MQHtmlPurifier添加到您的config/application.config.php文件中的modules键下。

配置

MQHtmlPurifier默认设置合理,但可以通过mqhtmlpurifier配置键进行可选配置。

`config` - passed directly to the HTMLPurifier class.
         - Added `Cache.SerializerPath` and set the default cache folder to data/cache/htmlpurifier
           Active by default.

分支

此模块是DevMonkCom的DevmonkHtmlPurifier的分支。由Milq Media更新、修改和增强。

#testing