NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #4700 most downloaded on Packagist
Laravel XSS protection, middleware and sanitization
Latest stable
1.11.0
Last release 7 months ago
03 Apr 2026
Ships fairly regularly
a new release about every 5 months
Nearly every release is documented
notes for 13 of 13 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
13 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Add Inertia Modal link by @realpascalbotjet in https://github.com/protonemedia/laravel-xss-protection/pull/19
Full Changelog: https://github.com/protonemedia/laravel-xss-protection/compare/1.10.0...1.11.0
Vendored version of voku/portable-utf8 for PHP 8.4+ compatibility by @pascalbaljet in https://github.com/protonemedia/laravel-xss-protection/pull/16
voku/portable-utf8 for PHP 8.4+ compatibility by @pascalbaljet in https://github.com/protonemedia/laravel-xss-protection/pull/16Full Changelog: https://github.com/protonemedia/laravel-xss-protection/compare/1.9.0...1.10.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Make voku/anti-xss a direct dependency by @pascalbaljet in https://github.com/protonemedia/laravel-xss-protection/pull/14
voku/anti-xss a direct dependency by @pascalbaljet in https://github.com/protonemedia/laravel-xss-protection/pull/14Full Changelog: https://github.com/protonemedia/laravel-xss-protection/compare/1.8.0...1.9.0
Laravel 12.x Compatibility by @laravel-shift in https://github.com/protonemedia/laravel-xss-protection/pull/10
Full Changelog: https://github.com/protonemedia/laravel-xss-protection/compare/1.7.0...1.8.0
Support for PHP 8.4 by @pascalbaljet in https://github.com/protonemedia/laravel-xss-protection/pull/8
Full Changelog: https://github.com/protonemedia/laravel-xss-protection/compare/1.6.0...1.7.0
Laravel 11.x Compatibility by @laravel-shift in https://github.com/protonemedia/laravel-xss-protection/pull/7
Full Changelog: https://github.com/protonemedia/laravel-xss-protection/compare/1.5.0...1.6.0
Support for PHP 8.3. Dropped support for Laravel 9 by @pascalbaljet in https://github.com/protonemedia/laravel-xss-protection/pull/5
Full Changelog: https://github.com/protonemedia/laravel-xss-protection/compare/1.4.0...1.5.0
* Support for Laravel 10 * Dropped support for PHP 8.0
* Added support for PHP 8.2 * Dropped support for Laravel 8
added skipKeyWhen method
skipKeyWhen methodadded MaliciousInputFound event
MaliciousInputFound eventSupport for dispatching an event on malicious input.
Support for dispatching an event on malicious input.
- initial release
One column per quarter.