waavi/sanitizer
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.
For executives: This is a low-cost tactical option for legacy Laravel forms, not a strategic platform bet. It can reduce bespoke input-cleaning code and improve consistency in existing products, but it carries maintenance and compatibility risk. Approve only with a clear owner, a proof-of-concept, and an exit plan such as forking or replacing it during the next framework upgrade.
For engineering: The package fits naturally into Laravel form requests and can centralize repeated sanitation rules. Treat it as an implementation aid, not a security control: keep validation, authorization, and output escaping separate. Before adoption, verify Laravel/PHP compatibility, dependency health, test coverage, and license; vendor or fork if the upstream package is stale. Do not introduce it into greenfield work without a strong reason—prefer a small internal sanitizer abstraction or a maintained alternative.
How can I help you explore Laravel packages today?