Download the PHP package signify-nz/silverstripe-security-headers without Composer
On this page you can find all versions of the php package signify-nz/silverstripe-security-headers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download signify-nz/silverstripe-security-headers
More information about signify-nz/silverstripe-security-headers
Files in signify-nz/silverstripe-security-headers
Package silverstripe-security-headers
Short Description Adds configurable security headers to HTTP responses via middleware.
License BSD-3-Clause
Homepage https://github.com/signify-nz/silverstripe-security-headers
Informations about the package silverstripe-security-headers
SilverStripe security headers
Inspired by Guttmann/silverstripe-security-headers.
SilverStripe module for easily adding a selection of useful HTTP headers.
Additionally provides a report of Content Security Policy violations.
Comes with a default set of headers configured, but can be used to add any headers you wish (as well as overriding or removing the default headers).
Install
For SilverStripe 3, see the appropriate branch
Install via composer:
Usage
For information on how to setup and use this module, please refer to the documentation.
Contributing
If you would like to contribute either via code fixes, enhancements, or localisations, please see the contributing guidelines.
CSS/JS Development
Setup
For development you will need Node.js and yarn installed.
Next, you need to install the required npm packages.
Compiling assets
You can compile assets using yarn watch
.
Produce minified (production) files using yarn package
.
Linting
Check over your JavaScript and SASS source code individually:
You can also lint both in a single command:
All versions of silverstripe-security-headers with dependencies
silverstripe/framework Version ^4.6 || ^5.0
silverstripe/cms Version ^4.0 || ^5.0
symbiote/silverstripe-queuedjobs Version ^4.8 || ^5.0