xemlock/htmlpurifier-html5
HTML5 definitions and tidy/sanitization rules for HTML Purifier, aligned with the WHATWG spec. Purify and normalize dirty HTML5 into valid output with an HTML5-ready config, plus flexible directives (e.g., safely allow YouTube iframes).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| stevebauman/purify | 0.91 | Laravel wrapper for HTMLPurifier to sanitize user-submitted HTML. Clean strings or arrays via a simple facade, with support for dynamic per-call configuration, published config, and caching options to keep output safe and consistent. | 538 | 541 | 38 | 299K | 0 | 29.2 | 43.3 | MIT | 2 months ago | |
| ezyang/htmlpurifier | 0.80 | HTML Purifier is a robust HTML filtering library that prevents XSS using strict whitelists and aggressive parsing, producing standards-compliant output. Ideal for richly formatted, untrusted HTML with configurable tag and CSS support. | 3,347 | 3,447 | 354 | 8M | 108 | 55.7 | 72.1 | LGPL-2.1 | 7 months ago | |
| mews/purifier | 0.78 | — | 1,979 | 2,017 | 241 | 612K | 77 | 61.6 | 67.1 | MIT | 1 month ago | |
| masterminds/html5 | 0.77 | Standards-compliant HTML5 parser and serializer for PHP. Provides SAX-like event parsing, DOM tree building, namespace support, Composer install, and interoperability with QueryPath. Stable and widely used in production. | 1,781 | 1,797 | 121 | 8M | 29 | 33.6 | 63.1 | NOASSERTION | 10 months ago |
How can I help you explore Laravel packages today?