ivanbaric/sanigen
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| htmlawed/htmlawed | 0.86 | 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 | — | |
| 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 |
|
| rector/type-perfect | 0.85 | Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. | 105 | 105 | 7 | 403K | 0 | 10.5 | 43.6 | MIT | 3 months ago | |
| kerrialn/static-data-importer-bundle | 0.85 | A Symfony bundle for importing static data into your application. It helps load seed or reference datasets into your database through a simple, configurable workflow, making it easier to keep fixtures and lookup data in sync. A lightweight utility for repetitive data import tasks. | 1 | 1 | 0 | 0 | 1 | 0.4 | — | MIT | 4 years ago | |
| 21torr/simple-normalizer | 0.85 | — | 0 | 0 | 1 | 481 | 0 | 14.1 | 40.2 | MIT | 6 months ago | |
| runn/validation | 0.84 | 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 | — | |
| arondeparon/laravel-request-sanitizer | 0.84 | 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.83 | — | 7 | 8 | 1 | 165 | 0 | 0.0 | 13.0 | — | — | |
| graham-campbell/security | 0.83 | 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 | — | — | |
| masterro/laravel-xss-filter | 0.83 | 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 | |
| larahook/purifier | 0.83 | 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 | |
| protonemedia/laravel-xss-protection | 0.83 | 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 | |
| waavi/sanitizer | 0.83 | 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 | — | — | |
| luketowers/purifier | 0.83 | 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 | — | |
| ezyang/htmlpurifier | 0.83 | HTML Purifier is a PHP library that filters untrusted HTML using robust whitelists and aggressive parsing to prevent XSS attacks while ensuring standards-compliant output. Ideal for safely rendering rich, CSS-enabled documents from untrusted sources. | 3,348 | 3,450 | 363 | 13M | 104 | 66.3 | 82.2 | LGPL-2.1 | 1 month ago | |
| stevebauman/purify | 0.82 | A Laravel wrapper for HTMLPurifier that sanitizes user input. Clean strings or arrays via Purify::clean(), define allowed HTML in the publishable config, and cache parsed definitions for performance. Supports PHP 7.4+ and Laravel 7+. | 537 | 540 | 38 | 523K | 0 | 20.5 | 44.0 | MIT | 7 months ago | |
| symfony/html-sanitizer | 0.82 | 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 | |
| duncanmcclean/guest-entries | 0.82 | Statamic addon that lets anonymous visitors submit guest entries to your collections from the front end, with no user account required. Configure which collections accept submissions, apply validation rules, and protect forms from spam. | 4 | — | 0 | — | 0 | 18.7 | — | NOASSERTION | 1 month ago | |
| elegantweb/sanitizer | 0.82 | 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 | |
| tgalopin/html-sanitizer-bundle | 0.82 | Symfony bundle integrating the html-sanitizer library so you can define and configure HTML sanitizers as services, clean untrusted markup safely, and use customizable sanitizer profiles throughout your application. | 85 | — | 10 | — | 2 | 1.5 | 0.4 | MIT | 4 years ago |
How can I help you explore Laravel packages today?