| Package Data | |
|---|---|
| Maintainer Username: | CristianGiordano |
| Maintainer Contact: | cristian@sneekdigital.co.uk (Cristian Giordano) |
| Package Create Date: | 2017-08-14 |
| Package Last Update: | 2017-10-08 |
| Language: | PHP |
| License: | GPL-3.0 |
| Last Refreshed: | 2025-11-02 15:14:47 |
| Package Statistics | |
|---|---|
| Total Downloads: | 3,581 |
| Monthly Downloads: | 1 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 3 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
A simple middleware for use in Laravel projects.
Clone the repository
composer require sneek/laravel-xss-middleware
Add to the Http kernel App\Http\Kernel
/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups = [
'web' => [
...
\Sneek\Http\Middleware\XSSProtection::class,
],
....