21 Laravel packages tagged “xss”
Most downloaded: mews/purifier, with 22,861,107 downloads and 1,979 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.
latte/latte
☕ Latte: the safest template engine for PHP. Context-sensitive escaping stops XSS, tags speak PHP, and n:attributes keep the HTML clean.
1,294
17,242,638
alkhwlani/xss-middleware
A Laravel Middleware to filter user inputs from XSS and iframes and other embed elements.
5
533,240
frozennode/xssinput
A simple extension of the Laravel Input facade that mimics CodeIgniter's xss filtering
39
71,089
artisanpack-ui/security
Core Laravel security toolkit — input sanitization, output escaping, KSES filtering, security headers, XSS protection, basic rate limiting, and Content Security Policy. Authentication / 2FA / RBAC / file uploads / analytics / compliance live in sibling packages.
1
12,452
sneek/laravel-xss-middleware
Simple Laravel XSS middlware to strip all tags and encode all entities from a user
2
3,583
jayanta/laravel-threat-detection
Passive intrusion detection for Laravel. Logs SQL injection, XSS, scanners and probes for exposed AI infrastructure, flags prompt injection aimed at your LLM, and ranks attackers. Never blocks a request.
38
1,738
jeffersongoncalves/laravel-html-sanitizer
This Laravel package provides a simple wrapper around the Symfony HTML Sanitizer to safely clean untrusted HTML. It strips scripts, inline event handlers, and Alpine attributes while keeping the presentational subset (headings, lists, tables, code blocks, images, links) that rendered Markdown and READMEs need. The package is easy to install and configure, seamlessly integrating with your existing Laravel application.
1
1,316
spatelsofmen/xssinput
A simple extension of the Laravel Input facade that mimics CodeIgniter's xss filtering
102
salehye/laravel-security
🔥 Advanced Security Package for Laravel 12 - The most comprehensive security solution for Laravel applications
5