PHPackages                             waughj/security-headers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. waughj/security-headers

ActiveLibrary[Security](/categories/security)

waughj/security-headers
=======================

Simple class for applying security headers to website.

v0.1.1(6y ago)058GPL-3.0-or-laterPHPPHP &gt;=7.0

Since Dec 10Pushed 6y agoCompare

[ Source](https://github.com/waughjai/security-headers)[ Packagist](https://packagist.org/packages/waughj/security-headers)[ RSS](/packages/waughj-security-headers/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Security Headers
================

[](#security-headers)

Simple class for applying security headers to website.

Just call `SecurityHeaders::setAllAutoPolicies()` before rendering anything.

Changelog
---------

[](#changelog)

### 0.1.1

[](#011)

- Remove env=HTTPS header line, since  says it is no longer valid

### 0.1.0

[](#010)

- Initial stable release

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2395d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11161078?v=4)[waughj](/maintainers/waughj)[@waughj](https://github.com/waughj)

---

Tags

security-headers

### Embed Badge

![Health badge](/badges/waughj-security-headers/health.svg)

```
[![Health](https://phpackages.com/badges/waughj-security-headers/health.svg)](https://phpackages.com/packages/waughj-security-headers)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M140](/packages/mews-purifier)[therobfonz/laravel-security-headers

Adds security headers to Laravel responses.

587.4k](/packages/therobfonz-laravel-security-headers)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k36](/packages/paragonie-ecc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
