concept-image/wp-csp
最新稳定版本:1.0.2
Composer 安装命令:
composer require concept-image/wp-csp
包简介
A package for adding a Content security policy on WordPress with Roots - Bedrock/Acorn
README 文档
README
WP CSP is a Composer package that provides a Content Security Policy (CSP) implementation for WordPress Bedrock/Sage applications.
Installation
You can install the package via Composer:
composer require concept-image/wp-csp
Publish Command
After installing the package, you need to publish the configuration file.
Run the following command:
wp acorn vendor:publish --tag="wp-csp"
Usage
After publishing the configuration file, you can customize it as needed.
The package automatically sets up the Content Security Policy for your WordPress application. Make sure to review and modify the config/csp.php file to define the rules that suit your project.
Contributing
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes you'd like to make.
License
This package is open-source software licensed under the MIT license. Please see the License File for more information.
统计信息
- 总下载量: 150
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-19