sneek/laravel-xss-middleware
Composer 安装命令:
composer require sneek/laravel-xss-middleware
包简介
Simple Laravel XSS middlware to strip all tags and encode all entities from a user
关键字:
README 文档
README
A simple middleware for use in Laravel projects.
Installation
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, ], ....
统计信息
- 总下载量: 3.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2017-08-14