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.92 | A Laravel wrapper for HTMLPurifier that sanitizes user input. Clean strings or arrays via Purify::clean(), define allowed HTML in the publishable config, and cache parsed definitions for performance. Supports PHP 7.4+ and Laravel 7+. | 537 | 540 | 38 | 518K | 0 | 20.4 | 43.8 | MIT | 7 months ago | |
| ezyang/htmlpurifier | 0.79 | HTML Purifier is a PHP library that filters untrusted HTML using robust whitelists and aggressive parsing to prevent XSS attacks while ensuring standards-compliant output. Ideal for safely rendering rich, CSS-enabled documents from untrusted sources. | 3,348 | 3,450 | 363 | 13M | 104 | 66.3 | 82.2 | LGPL-2.1 | 1 month ago | |
| masterminds/html5 | 0.77 | HTML5-PHP is a standards-compliant HTML5 parser and serializer written entirely in PHP. It includes both a DOM tree builder and an event-based SAX-like parser, supports PHP namespaces and Composer, interoperates with QueryPath, and requires PHP 7.4+. Stable and widely used in production. | 1,787 | 1,808 | 126 | 16M | 26 | 50.1 | 74.8 | NOASSERTION | 1 week ago | |
| mews/purifier | 0.76 | — | 1,979 | 2,019 | 240 | 847K | 78 | 53.0 | 64.6 | MIT | 6 months ago | |
| exercise/htmlpurifier-bundle | 0.74 | — | 278 | 282 | 55 | 326K | 2 | 11.9 | 42.8 | NOASSERTION | 11 months ago |
How can I help you explore Laravel packages today?