New

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

21 Laravel packages tagged “xss”

Most downloaded: mews/purifier, with 23,909,128 downloads and 1,976 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,976 23,909,128

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,296 17,450,190

akaunting/laravel-firewall

Web Application Firewall (WAF) package for Laravel
1,014 606,232

alkhwlani/xss-middleware

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

masterro/laravel-xss-filter

Filter user input for XSS but don't touch other html
41 305,087

saasykit/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package
80,965

luketowers/purifier

Laravel 5 HtmlPurifier Package
32 80,628

frozennode/xssinput

A simple extension of the Laravel Input facade that mimics CodeIgniter's xss filtering
39 71,330

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 15,128

veltix/purifier

Laravel HtmlPurifier Package
7,616

larahook/purifier

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

sneek/laravel-xss-middleware

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

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 2,117

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,999

baspa/larascan

A security-focused static analysis package for Laravel applications
8 1,847

sloyakuza/laravel-html-purifier

An HTML Purifier for Laravel
1,784

xuejd3/purifier

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

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