fossar/htmlawed
Fork of kesar/HTMLawed maintained by selfoss and wallabag. A single-file (~45KB) PHP HTML filter/sanitizer that secures and tidies user input, making it standards-compliant for HTML/XHTML/XML, with extensive customization options.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| webpatser/laravel-sanitize | 0.86 | — | 7 | 8 | 2 | 142 | 0 | 0.0 | 12.9 | — | — | |
| aimeos/sanitizer | 0.84 | Laravel package providing data sanitization helpers: clean and normalize input, strip unwanted characters/tags, and validate common formats. Useful for securing request data and preparing values for storage, APIs, and user-facing output. | 194 | 184 | 0 | 3K | 0 | 1.0 | 16.6 | LGPL-2.1 | — | |
| stevebauman/purify | 0.84 | 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. | 538 | 542 | 38 | 299K | 0 | 25.6 | 42.1 | MIT | 4 months ago | |
| typo3/html-sanitizer | 0.83 | Standalone PHP HTML sanitizer from TYPO3. Define sanitization rules via Behavior, apply with Visitors, and get a ready-to-use Sanitizer via Builders/presets. Control allowed tags, attributes, and values; encode or remove invalid nodes and comments. | 29 | 28 | 15 | 320K | 6 | 31.1 | 66.3 | MIT | 1 month ago | |
| rhukster/dom-sanitizer | 0.82 | MIT-licensed PHP 7.3+ DOM/SVG/MathML sanitizer using DOMDocument and DOMPurify-based allowlists. Remove dangerous tags/attributes, strip namespaces and PHP/HTML/XML tags, and optionally compress output. Supports HTML, SVG, and MathML modes. | 11 | 11 | 4 | 169K | 0 | 18.9 | 62.6 | MIT | 3 months ago | |
| symfony/html-sanitizer | 0.82 | Symfony HtmlSanitizer provides an OO API to clean untrusted HTML for safe DOM insertion. Configure allowed/blocked elements and attributes, drop or keep children, force attributes, enforce HTTPS, and restrict link schemes/hosts to prevent XSS and unsafe behavior. | 281 | 281 | 13 | 3M | 0 | 35.2 | 64.5 | MIT | 1 month ago | |
| xemlock/htmlpurifier-html5 | 0.81 | 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 | 15 | 90K | 1 | 16.0 | 44.3 | MIT | 5 months ago | |
| devanoxltd/php-html-parser | 0.81 | Lightweight PHP HTML parser with jQuery-style CSS selectors. Load HTML from strings or files, handle imperfect markup, and traverse nodes (attributes, innerHtml, siblings). Ideal for quick web scraping and DOM extraction in PHP 7.2–7.4. | 0 | 0 | 0 | 24 | 0 | 2.5 | 19.6 | MIT | 11 months ago | |
| zendframework/zendxml | 0.78 | ZendXml provides secure XML scanning/loading for PHP to help prevent XXE and XML entity expansion (XEE) attacks. It disables external entity loading and rejects documents using ENTITY declarations, returning SimpleXMLElement or DOMDocument. Repository abandoned; moved to laminas/laminas-xml. | 29 | 30 | 11 | 22K | 0 | 0.8 | 28.0 | BSD-3-Clause | 7 years ago | |
| aura/html | 0.77 | HTML escapers and helpers for any PHP template/view layer, including tag builders and form input helpers. Easy to use via a HelperLocatorFactory; built-in helpers escape values appropriately and you can register custom helpers via the HelperLocator. | 52 | 53 | 22 | 4K | 0 | 3.9 | 23.5 | MIT | 4 years ago | |
| cebe/markdown | 0.75 | Fast, extensible PHP Markdown parser with classes for multiple flavors (Traditional, GitHub Flavored, and partial Markdown Extra) plus a CLI to convert .md to HTML. Designed for speed, easy customization, and AST-based hooks for extensions. | 1,011 | 1,034 | 137 | 485K | 38 | 25.1 | 51.2 | MIT | 8 years ago | |
| webuni/commonmark-attributes-extension | 0.75 | Adds Kramdown-style attribute lists to League/CommonMark markdown, letting you assign HTML ids, classes, and other attributes to block and span elements. Deprecated: use the built-in Attributes extension in league/commonmark 1.5+ instead. | 31 | 33 | 14 | 483 | 0 | 0.3 | 11.8 | MIT | — | |
| pear/html_common2 | 0.75 | — | 1 | 1 | 2 | 8K | 0 | 0.1 | 50.0 | — | — | |
| yiisoft/html | 0.75 | Tools for dynamic server-side HTML generation: rich set of tag classes, custom tags, widgets (ButtonGroup, CheckboxList, RadioList), automatic HTML-encoding with NoEncode bypass, and an Html helper with static methods to build tags and widgets. | 58 | 58 | 23 | 27K | 6 | 25.2 | 43.8 | BSD-3-Clause | 2 months ago | |
| sensiolabs/ansi-to-html | 0.64 | Convert ANSI-colored console output into an HTML5 fragment. Supports themes (e.g., Solarized), inline styles or CSS classes, can export theme CSS, and includes a Twig extension for easy use in templates. | 254 | 258 | 37 | 107K | 9 | 5.2 | 39.6 | MIT | — | |
| html2text/html2text | 0.61 | — | 590 | 612 | 177 | 845K | 15 | 17.3 | 49.6 | — | 1 year ago | |
| spatie/laravel-html | 0.61 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 827 | 840 | 102 | 359K | 0 | 29.1 | 40.5 | MIT | 5 months ago | |
| laravel/folio | 0.58 | Laravel Folio is a page-based router for Laravel that lets you define routes by creating files, keeping routing simple and organized. Ideal for building pages quickly with less boilerplate, backed by official Laravel documentation and support. | 603 | 603 | 52 | 73K | 2 | 31.8 | 32.5 | MIT | 1 month ago | |
| laraveldaily/larastarters | 0.58 | Larastarters installs a Laravel starter kit (Breeze Tailwind or Laravel UI Bootstrap) plus ready-made design themes. Adds common app features like profile management, users list table, sample static page, and a two-level sidebar menu. For new projects only. | 774 | 777 | 135 | 2K | 1 | 16.7 | 6.3 | MIT | 2 years ago | |
| laravelium/sitemap | 0.58 | — | 1,342 | 1,349 | 272 | 339 | 1 | 22.7 | 1.4 | MIT | 7 months ago |
How can I help you explore Laravel packages today?