New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

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.

mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package
1,979 22,861,107

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

akaunting/laravel-firewall

Web Application Firewall (WAF) package for Laravel
1,016 587,543

alkhwlani/xss-middleware

A Laravel Middleware to filter user inputs from XSS and iframes and other embed elements.
5 533,240

masterro/laravel-xss-filter

Filter user input for XSS but don't touch other html
41 299,601

luketowers/purifier

Laravel 5 HtmlPurifier Package
32 80,452

saasykit/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package
71,789

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

veltix/purifier

Laravel HtmlPurifier Package
6,967

larahook/purifier

Laravel 5/6/7/8/9/10/12/13 HtmlPurifier Package
2 5,071

sneek/laravel-xss-middleware

Simple Laravel XSS middlware to strip all tags and encode all entities from a user
2 3,583

sloyakuza/laravel-html-purifier

An HTML Purifier for Laravel
1,784

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

baspa/larascan

A security-focused static analysis package for Laravel applications
7 1,530

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

xuejd3/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package
1,119

crcms/filter

crcms input filter
1,107

spatelsofmen/xssinput

A simple extension of the Laravel Input facade that mimics CodeIgniter's xss filtering
102

xlstudio/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package
15

salehye/laravel-security

🔥 Advanced Security Package for Laravel 12 - The most comprehensive security solution for Laravel applications
5