rhertogh/yii2-security.txt
最新稳定版本:1.0.0-alpha2
Composer 安装命令:
composer require rhertogh/yii2-security.txt
包简介
A Yii2 extension to serve .well-known/security.txt
README 文档
README
A Yii2 extension to serve .well-known/security.txt
RFC 9116: A File Format to Aid in Security Vulnerability Disclosure.
You can view generated examples here.
📑 Contents
- Getting started
- Test Drive
- Documentation
- FAQ
- Versioning & Change Log
- Reporting Security issues
- Directory Structure
- Contributing
- Credits
- License
🐣 Getting started
Requirements:
- The minimum required PHP version is 8.1 (compatibility tested up till and including PHP 8.3).
- The minimum required Yii version is 2.0.49.
Installation:
The preferred way to install this extension is through composer.
composer require rhertogh/yii2-security.txt
Full installation and configuration details can be found in the docs under Installing Yii2 security.txt
🏎️ Test Drive
You can run a local preview instance using Docker:
docker run --rm -p 82:80 --name Yii2SecurityTxt ghcr.io/rhertogh/yii2-securitytxt:master
After the container is started you can access the sample server on localhost:82.
Hint: The port number on the host machine is specified by the first part of the
-pargument. This can be changed if desired (e.g.-p 88:80).
To access the CLI of the Docker container you can run:
docker container exec -it Yii2SecurityTxt bash
📖 Documentation
There are two main sections in the documentation:
- Usage Guide for using the Yii2SecurityTxt in your own project.
- Development Guide for contributing to the Yii2SecurityTxt.
🔮 FAQ
The FAQ can be found here.
📜 Versioning & Change Log
The Yii2 security.txt project follows Semantic Versioning 2.0
Please see the Change Log for more information on version history
and the Upgrading Instructions when upgrading to a newer version.
🔎 Reporting Security issues
In case you found a security issue please contact us directly DO NOT use the issue tracker or discuss it in public as it will cause more damage than help.
Please note that as a non-commercial OpenSource project we are not able to pay bounties.
📂 Directory Structure
docker/ Docker container definition
docs/ Documentation (for both usage and development)
sample/ Sample app for the server
src/ Yii2SecurityTxt source
tests/ Codeception unit and functional tests
🚀 Contributing
The Yii2SecurityTxt extension is Open Source. You can help by:
Thanks in advance for your contribution!
🎉 Credits
✒️ License
The Yii2SecurityTxt extension is free software. It is released under the terms of the Apache License.
Please see LICENSE.md for more information.
统计信息
- 总下载量: 1.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2024-08-12