Download the PHP package austinheap/php-security-txt without Composer
On this page you can find all versions of the php package austinheap/php-security-txt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download austinheap/php-security-txt
More information about austinheap/php-security-txt
Files in austinheap/php-security-txt
Package php-security-txt
Short Description A package for manipulating `security.txt` documents in PHP 7+, based on configuration settings.
License MIT
Homepage https://github.com/austinheap/php-security-txt
Informations about the package php-security-txt
PHP 7+ security.txt
Package
A package for manipulating security.txt
documents in PHP 7+, based on configuration settings.
The purpose of this project is to create a set-it-and-forget-it package that can
manipulate documents following the current security.txt
spec. It is therefore highly opinionated but built for configuration.
security.txt
is a draft
"standard" which allows websites to define security policies. This "standard"
sets clear guidelines for security researchers on how to report security issues,
and allows bug bounty programs to define a scope. Security.txt is the equivalent
of robots.txt
, but for security issues.
There is documentation for php-security-txt
online,
the source of which is in the docs/
directory. The most logical place to start are the docs for the SecurityTxt
class.
Table of Contents
- Summary
- Installation
- Step 1: Composer
- Step 2: Manipulate a
security.txt
document
- Unit Tests
- References
- Credits
- License
Installation
Step 1: Composer
Via Composer command line:
Or add the package to your composer.json
:
Step 2: Manipulate a security.txt
document
To programatically create a security.txt
document, you could do:
Which should output:
Unit Tests
This package has aggressive unit tests built with PHPUnit.
There are code coverage reports for php-security-txt
available online.
References
- A Method for Web Security Policies (draft-foudil-securitytxt-00)
- laravel-security-txt
- securitytext.org
Credits
This is a fork of austinheap/laravel-security-txt, which was a fork of InfusionWeb/laravel-robots-route, which was a fork of ellisthedev/laravel-5-robots, which was a fork of jayhealey/Robots, which was based on earlier work.
- ellisio/laravel-5-robots Contributors
- InfusionWeb/laravel-robots-route Contributors
- austinheap/laravel-security-txt Contributors
License
The MIT License (MIT). Please see License File for more information.