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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| masterro/laravel-xss-filter | 0.88 | A Laravel package for filtering XSS from user input. It offers configurable sanitization and middleware to clean request data, helping protect your application from cross-site scripting attacks with minimal setup. | 41 | 41 | 6 | 7K | 0 | 19.8 | 35.6 | MIT | 2 weeks ago | |
| protonemedia/laravel-xss-protection | 0.87 | 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 | |
| arondeparon/laravel-request-sanitizer | 0.87 | 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 | |
| webpatser/laravel-sanitize | 0.87 | — | 7 | 8 | 1 | 165 | 0 | 0.0 | 13.0 | — | — | |
| smorken/sanitizer | 0.87 | 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. | 0 | 0 | — | 400 | — | 0.0 | 36.0 | — | — | |
| voku/anti-xss | 0.87 | AntiXSS is a lightweight PHP library for filtering malicious input and preventing cross-site scripting attacks. It cleans user-supplied strings and arrays, with support for custom sanitizing, making it a simple drop-in defense for web forms and input handling. | 711 | 729 | 121 | 439K | 1 | 26.5 | 44.9 | MIT | 4 weeks ago | |
| 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 | — | — | |
| alkhwlani/xss-middleware | 0.86 | Laravel middleware that sanitizes incoming request data to help prevent XSS attacks. It filters user input and removes malicious HTML/scripts, adding a simple protection layer to your app without changing your existing validation flow. | 5 | 5 | 3 | 3K | 0 | 11.6 | 41.9 | MIT | 5 months ago | |
| elegantweb/sanitizer | 0.86 | 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 | |
| waavi/sanitizer | 0.86 | Waavi Sanitizer provides a simple, flexible way to clean and transform user input in Laravel before validation. Define reusable sanitizers with built-in filters like trim, escape, cast, and custom filters to keep your data safe and consistent. | 0 | 433 | — | 718 | — | 0.0 | 39.5 | — | — | |
| larahook/purifier | 0.86 | 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 | |
| aimeos/aimeos-laravel | 0.86 | Aimeos for Laravel is a professional, ultra-fast ecommerce package you can install in minutes. Full-featured for shops and marketplaces: multi-vendor/channel, subscriptions, vouchers/discounts, 100+ payment gateways, admin UI, REST/GraphQL APIs, and SEO-ready frontend. | 8,713 | 8,719 | 1,111 | 3K | 1 | 40.1 | 2.0 | MIT | — | |
| luketowers/purifier | 0.85 | A Laravel wrapper around HTMLPurifier that brings clean, secure HTML sanitization to your application. It offers a Purifier facade, Blade directive, service provider, and publishable config so you can safely filter user-supplied HTML and prevent XSS with minimal setup. | 32 | — | 8 | — | 2 | 0.8 | — | MIT | — | |
| 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 | |
| symfony/html-sanitizer | 0.85 | Symfony's HtmlSanitizer component offers an object-oriented API to clean untrusted HTML for safe DOM insertion. Configure allowed elements, attributes, link schemes, and URL forcing to strip scripts and dangerous markup. | 284 | 283 | 13 | 4M | 0 | 36.3 | 64.9 | MIT | 1 week ago | |
| vysokeskoly/utils-bundle | 0.85 | A Symfony bundle of shared utility services and helpers used across VysokeSkoly applications, bundling common tools and dependency-injection configuration so projects can reuse consistent functionality instead of duplicating it. | 0 | 0 | 0 | 336 | 0 | 0.3 | 34.9 | MIT | 2 years ago | |
| cebe/markdown | 0.85 | 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,035 | 137 | 763K | 39 | 25.4 | 53.9 | MIT | 8 years 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 |
|
| ivanbaric/sanigen | 0.85 | Sanigen is a Laravel package for defining and generating reusable sanitizers that clean and normalize incoming request data before validation or persistence. It helps keep form and API input consistent, predictable, and safe with a simple, rule-based workflow. | 0 | — | 0 | — | 0 | 15.4 | — | MIT | 2 months ago | |
| laravel-at/laravel-image-sanitize | 0.84 | Laravel middleware that re-encodes uploaded images to strip hidden malicious payloads, reducing the risk of code execution. Requires PHP 8.3+, Laravel 12/13, and Intervention Image 4. | 345 | 346 | 24 | 5K | 0 | 23.3 | 19.3 | MIT | 2 months ago |
How can I help you explore Laravel packages today?