ezyang/htmlpurifier
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| stevebauman/purify | 0.87 | Laravel wrapper for HTMLPurifier to sanitize user-submitted HTML and prevent XSS. Clean strings or arrays via the Purify facade, with support for per-call (dynamic) configuration and published config for app-wide rules. | 537 | 542 | 38 | 299K | 0 | 26.7 | 42.5 | MIT | 4 months ago | |
| xemlock/htmlpurifier-html5 | 0.84 | 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). | 106 | 105 | 14 | 90K | 1 | 16.8 | 44.6 | MIT | 5 months ago | |
| mews/purifier | 0.79 | — | 1,980 | 2,018 | 241 | 692K | 77 | 59.0 | 66.5 | MIT | 3 months ago | |
| masterminds/html5 | 0.75 | 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,784 | 1,804 | 121 | 9M | 29 | 49.4 | 71.7 | NOASSERTION | 4 weeks ago |
How can I help you explore Laravel packages today?