aimeos/sanitizer
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| voku/anti-xss | 0.86 | PHP AntiXSS library to sanitize untrusted HTML and prevent XSS attacks. Cleans input by removing dangerous tags/attributes, filters CSS/JS vectors, and supports UTF-8 and common encodings. Useful for safely handling user-generated content in apps. | 712 | 731 | 121 | 303K | 1 | 7.5 | 36.7 | MIT | — | |
| webpatser/laravel-sanitize | 0.84 | — | 7 | 8 | 2 | 142 | 0 | 0.0 | 12.9 | — | — | |
| fossar/htmlawed | 0.84 | 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. | 2 | 2 | 2 | 6K | 0 | 22.1 | 53.9 | GPL-2.0 | 4 weeks ago | |
| rhukster/dom-sanitizer | 0.81 | 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 | 5 hours ago | |
| symfony/html-sanitizer | 0.79 | 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 | |
| enshrined/svg-sanitize | 0.67 | PHP SVG/XML sanitizer inspired by DOMPurify. Clean untrusted SVGs with a simple sanitize() call, optional custom tag/attribute whitelists, remote reference stripping to prevent leaks, issue reporting, and output minification. Returns clean XML or false on parse errors. | 545 | 550 | 68 | 1M | 17 | 12.2 | 55.2 | GPL-2.0 | 11 months ago |
How can I help you explore Laravel packages today?