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: | 2024-12-14 15:18:22 |
Package Statistics | |
---|---|
Total Downloads: | 3,564 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 4 |
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,
],
....