A PHP library that helps with generating security headers
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