rhertogh/yii2-security.txt 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Latest Stable Version build Status Code Coverage Scrutinizer Code Quality GitHub

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

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 -p argument. 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:

🔮 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2024-08-12