smorken/sanitizer
Sanitizer for Laravel and PHP applications that cleans untrusted input and output, stripping unsafe HTML and helping prevent XSS. Configurable filters make it easy to define allowed tags and attributes for safe, consistent data handling.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| graham-campbell/security | 0.86 | A Laravel package from Graham Campbell that helps harden your app by adding configurable security headers to HTTP responses. It provides a simple middleware-based setup for common browser protections, making it easy to improve response security with minimal configuration. | 0 | 255 | — | 8K | — | 0.3 | 54.2 | — | — | |
| smorken/cache-assist | 0.86 | Smorken Cache Assist is a lightweight Laravel package that streamlines caching for common values and expensive queries. It provides convenient helpers for building cache keys and remembering results, cutting boilerplate so you can add or tune caching in your application quickly and consistently. | 0 | 0 | — | 182 | — | 0.0 | 31.3 | — | — | |
| smorken/service | 0.86 | A lightweight base service class for Laravel that gives you a clean place to put business logic outside controllers and models. Extend the provided Service, add your methods, and keep controllers thin while sharing reusable, testable operations across your app. | 0 | 0 | — | 53 | — | 0.0 | 23.9 | — | — | |
| htmlawed/htmlawed | 0.85 | htmlawed/htmlawed is a PHP HTML sanitizer and validator that filters untrusted markup, balances tags, and restricts elements and attributes to help prevent XSS. It can clean user-submitted content, enforce custom HTML policies, and produce safer, well-formed output for web applications. | 42 | 49 | 16 | 54K | 9 | 3.2 | 45.0 | GPL-2.0 | — | |
| elegantweb/sanitizer | 0.85 | Laravel package that cleans and normalizes user input before validation. Define sanitizer classes with rule sets to trim strings, cast types, strip tags, and transform request data, keeping controllers lean and application data consistent. Extensible with custom filters. | 115 | — | 15 | — | 0 | 10.1 | — | MIT | 7 months ago | |
| phlib/xss-sanitizer | 0.85 | PHP library for sanitizing untrusted HTML and preventing XSS. It parses user-supplied markup, strips dangerous tags, attributes and URLs, and returns safe HTML for rendering in web applications. Configurable rules suit comments, rich text and other user-generated content. | 16 | — | 3 | — | 1 | 0.3 | — | LGPL-3.0 | 2 years ago |
|
| webpatser/laravel-sanitize | 0.85 | — | 7 | 8 | 1 | 165 | 0 | 0.0 | 13.0 | — | — | |
| jeffersongoncalves/laravel-html-sanitizer | 0.85 | A Laravel package for sanitizing untrusted HTML before rendering. It helps remove dangerous tags and attributes to reduce XSS risks, with configurable rules for safely handling user-generated content in your applications. | 1 | 1 | 0 | 511 | 0 | 19.9 | 39.0 | MIT | 1 week ago | |
| vanilla/htmlawed | 0.85 | Laravel integration for HTMLawed, a PHP HTML sanitizer and validator. It cleans user-submitted markup, balances tags, filters unsafe attributes and elements, and helps preserve safe formatting in rich text. Useful for sanitizing comments, CMS content, and other untrusted HTML. | 40 | 42 | 15 | 8K | 3 | 1.8 | 32.5 | NOASSERTION | 3 years ago | |
| larahook/purifier | 0.85 | Laravel wrapper for HTMLPurifier that cleans and sanitizes untrusted HTML before it reaches your views. Filter user-generated content through a simple, configurable API to strip XSS and other malicious markup while preserving safe formatting. | 2 | 2 | 0 | 735 | 0 | 8.1 | 35.3 | MIT | 7 months ago | |
| typo3/html-sanitizer | 0.85 | A standalone PHP HTML sanitization component from TYPO3, usable in any PHP project. Declarative Behavior settings define allowed tags, attributes, and values; visitors modify or remove nodes; builders combine presets into ready-to-use Sanitizer instances for safe HTML output. | 29 | 29 | 13 | 382K | 6 | 24.6 | 63.1 | MIT | 4 months ago | |
| arondeparon/laravel-request-sanitizer | 0.85 | Sanitize incoming request data before validation in Laravel. Define reusable sanitizers to trim, cast, or transform input—individually or in pipelines—keeping controllers and form requests clean. Integrates smoothly with Laravel's validation lifecycle. | 112 | 112 | 6 | 5K | 0 | 1.0 | 23.2 | MIT | 1 year ago | |
| smorken/menu | 0.85 | Smorken Menu is a Laravel package for building and managing navigation menus, with support for storing menu items and rendering them in your application's views. | 0 | 0 | — | 145 | — | 0.0 | 29.9 | — | — | |
| aimeos/sanitizer | 0.85 | 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. | 218 | 184 | 0 | 3K | 0 | 1.1 | 15.9 | LGPL-2.1 | — | |
| smorken/export | 0.85 | Smorken Export is a Laravel package for turning Eloquent models and query results into CSV downloads. Define which columns to include, then generate export files through a simple, configurable API suitable for admin reports and data backups. | 0 | 0 | — | 56 | — | 0.0 | 24.3 | — | — | |
| 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 | 106 | 15 | 92K | 1 | 11.5 | 42.8 | MIT | 8 months ago | |
| protonemedia/laravel-xss-protection | 0.84 | Laravel XSS Protection provides middleware and validation rules that sanitize user input to guard against cross-site scripting. It recursively cleans request data, supports custom filters, and integrates smoothly with Laravel forms and Blade templates. | 150 | 150 | 9 | 45K | 3 | 10.5 | 38.2 | MIT | 7 months ago | |
| smorken/auth | 0.84 | Laravel authentication package that provides ready-made login, registration, and password reset flows. It integrates with Laravel's auth system and offers configurable routes, views, and guards to help secure your application quickly. | 0 | 0 | — | 153 | — | 0.0 | 30.2 | — | — | |
| rhukster/dom-sanitizer | 0.84 | A fast, MIT-licensed DOM, SVG, and MathML sanitizer for PHP 7.3+. It uses PHP DOMDocument to strip dangerous tags and attributes, borrowing DOMPurify’s extensive allowlists. Configurable options and tag/attribute controls included. | 14 | 11 | 3 | 169K | 0 | 24.5 | 64.8 | MIT | 1 week ago | |
| enshrined/svg-sanitize | 0.84 | PHP SVG sanitizer based on DOMPurify that cleans untrusted SVG/XML, strips dangerous tags and remote references, supports custom whitelists, minification, and reports sanitization issues. | 557 | 557 | 69 | 3M | 18 | 30.6 | 68.1 | GPL-2.0 | 2 weeks ago |
How can I help you explore Laravel packages today?