arondeparon/laravel-request-sanitizer
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| webpatser/laravel-sanitize | 0.88 | — | 7 | 8 | 1 | 165 | 0 | 0.0 | 13.0 | — | — | |
| aimeos/sanitizer | 0.87 | 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 | — | |
| 21torr/simple-normalizer | 0.87 | — | 0 | 0 | 1 | 481 | 0 | 14.1 | 40.2 | MIT | 6 months 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 | |
| elegantweb/sanitizer | 0.87 | 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.87 | 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 | — | — | |
| nwidart/laravel-normalizer | 0.86 | A Laravel package for normalizing data into consistent, predictable formats. Define custom normalizers to clean and transform input, making validation and storage simpler across your application. | 12 | — | 2 | — | 0 | 0.4 | — | MIT | 10 years ago | |
| surgiie/transformer | 0.86 | Surgiie/Transformer provides a fluent, declarative API for reshaping arrays and Eloquent data in Laravel. Define reusable blueprints to rename keys, transform values, and format output, keeping controllers and API responses clean, consistent, and easy to maintain. | 126 | — | 7 | — | 0 | 9.1 | — | MIT | 7 months ago |
|
| runn/validation | 0.86 | A Laravel validation package that extends the framework's built-in validator with additional rules and helpers, making it easier to define and reuse custom validation logic across your application's forms and requests. | 10 | 10 | 4 | 14 | 0 | 0.2 | 4.9 | LGPL-3.0 | — | |
| rhukster/dom-sanitizer | 0.86 | 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 | |
| mesolaries/smart-api-bundle | 0.86 | Smart API Bundle is a Laravel/PHP package for building cleaner, more consistent APIs with less boilerplate. It streamlines common API concerns such as structured responses, validation, and reusable endpoints, helping teams ship maintainable JSON APIs faster. | 3 | 2 | 0 | 0 | 0 | 0.3 | — | MIT | 4 years ago | |
| ivanbaric/sanigen | 0.86 | 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 | |
| symfony/html-sanitizer | 0.86 | 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 | |
| masterro/laravel-xss-filter | 0.86 | 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 | |
| smorken/sanitizer | 0.86 | 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 | — | — | |
| php-standard-library/type | 0.86 | Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. | 1 | 1 | 0 | 114K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| laravellegends/pt-br-validator | 0.86 | Brazilian Portuguese validation rules for Laravel, adding CPF, CNPJ, CEP, phone, and other pt-BR formats as native validators so you can validate local documents and data with simple, familiar rule strings. | 648 | — | 111 | — | 2 | 18.8 | 2.5 | MIT | 5 months ago | |
| 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 | |
| pedrosalpr/laravel-api-problem | 0.86 | Laravel API Problem brings RFC 7807/9457 problem details to your Laravel API, helping you return consistent, standards-compliant JSON error responses. Document, debug, and consume API errors more easily with structured problem payloads and simple helpers. | 11 | — | 1 | — | 1 | 0.4 | 0.4 | MIT | — | |
| dive-be/laravel-dry-requests | 0.86 | Laravel Dry Requests lets your frontend validate input against the same Laravel FormRequest rules without running controller logic. Send a dry-run request, get validation results, and keep frontend and backend validation in sync with zero duplicated rules. | 202 | — | 4 | — | 0 | 0.7 | — | MIT | 3 years ago |
How can I help you explore Laravel packages today?