A PHP library that helps with generating security headers
Switch branches/tags
Nothing to show
Clone or download
ancarda Composer and Travis Fixes for 2018
This commit makes a number of changes to how Composer and Travis are
implemented in this repository:

 * Add testing with PHP 7.2.
 * Pull in PHP Coveralls, rather than requiring at CI run time[1].
 * Update Composer package versions.

[1] See ancarda/types@bee4c28
Latest commit f0a8a6b Jan 26, 2018

README.md

ancarda/security-headers

A PHP library that helps with generating security headers

Latest Stable Version Total Downloads License Build Status Coverage Status

security-headers is a library for PHP 7.0+ that contains generators for common HTTP security headers, such as Content Security Policy, X-Frame-Options, and X-XSS-Protection.

These classes can be used with any framework and have no dependencies. This library may be installed via composer with the following command:

composer require ancarda/security-headers