masterjoa/htmlpurifier-html5

Load standalone HTMLPurifier with support for HTML5, TinyMCE, YouTube, Video

Installs: 31

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/masterjoa/htmlpurifier-html5

v0.1 2016-05-06 16:23 UTC

This package is not auto-updated.

Last update: 2025-10-14 01:26:56 UTC


README

Load standalone HTMLPurifier with support for:

  • HTML5
  • TinyMCE
  • YouTube
  • Video

Installation

Composer

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

$ composer require "masterjoa/htmlpurifier-html5": "dev-master"

GIT

If you already have a GIT repo for your server, then:

git submodule add https://github.com/Masterjoa/HTMLPurifier-html5 HTMLPurifier-html5
git submodule init

Or, for installation inside your server directory:

git clone https://github.com/Masterjoa/HTMLPurifier-html5

Note: Make sure HTMLPurifier si installed if you do not install using composer.

More info

View the example.php file to see how it works.

HTMLPurifier: http://htmlpurifier.org/

php-htmlpurifier-html5: https://github.com/kennberg/php-htmlpurfier-html5

Contributions: Propose each change via issues, then fork, implement and send a pull request.

License

Apache v2. See the LICENSE file.