tecpresso/laravel-x-frame-options
最新稳定版本:1.0.1
Composer 安装命令:
composer require tecpresso/laravel-x-frame-options
包简介
Add X-Frame-Options Header for laravel
README 文档
README
This library gives "X-Frame-Options" to Laravel.
I have created this to avoid OWASP warnings
Install
composer require tecpresso/laravel-x-frame-options
This library corresponds to auto discovery
If you using laravel 5.4. you have to add the provider in the providers array (config/app.php)
Configuration
Run command
php artisan vendor:publish
and select the Provider.
Then. generated config file in confog/x-frame-options .
You can edit rules for each path.
Usage
The library enabled automatically.
Testing
composer test
Lisence
MIT
统计信息
- 总下载量: 5.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-21