itox-gmbh/laravel-security
最新稳定版本:0.0.2
Composer 安装命令:
composer require itox-gmbh/laravel-security
包简介
Laravel security hardening package
README 文档
README
Installation
You can install the package via composer:
composer require itox-gmbh/laravel-security
You can publish and run the migrations with:
php artisan security:install
Usage
Change the security.php in your config folder to you needs
'enforceSSL' => true, 'headers' => [ 'hsts' => true, 'x-frame-options' => 'SAMEORIGIN', 'x-content-type-options' => 'nosniff', 'x-xss-protection' => '1; mode=block', 'permissions-policy' => 'camera=(), microphone=(), geolocation=(), fullscreen=(self), payment=(), accelerometer=(), gyroscope=()', 'feature-policy' => "camera 'none'; microphone 'none'; geolocation 'none'; fullscreen 'none'; payment 'none'; accelerometer 'none'; gyroscope 'none';", ],
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 48
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-21