PHPackages                             alinandrei/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. alinandrei/security\_headers

ActiveLibrary

alinandrei/security\_headers
============================

A Statamic addon to manage security headers.

1.0.5(7mo ago)022[3 issues](https://github.com/alinescu16/statamic_security_headers/issues)proprietaryPHP

Since Sep 22Pushed 7mo agoCompare

[ Source](https://github.com/alinescu16/statamic_security_headers)[ Packagist](https://packagist.org/packages/alinandrei/security_headers)[ RSS](/packages/alinandrei-security-headers/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (7)Used By (0)

Statamic Security Headers
=========================

[](#statamic-security-headers)

[![Statamic 5.0+](https://camo.githubusercontent.com/dc3c9cb718d7618b00a8eb01b82abe77cd64824a4b3e237232fc916a84ab3858/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53746174616d69632d352e302532422d4646323639453f7374796c653d666f722d7468652d6261646765266c6f676f3d73746174616d6963)](https://statamic.com)[![On the Statamic Marketplace](https://camo.githubusercontent.com/b1e4ba87ba0a106ea975608f6bfeb7e598dd3c2830d6b0c1d19f3a10e03f1259/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53746174616d69632d4d61726b6574706c6163652d4646323639452e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d73746174616d6963)](https://statamic.com/addons/lndr/security-headers)

A Statamic addon that allows you to easily manage and deploy crucial security headers for your website, complete with a powerful Content-Security-Policy (CSP) manager and violation reporting.

Features
--------

[](#features)

- **Set Key Security Headers:** Easily enable and configure `Strict-Transport-Security` (HSTS), `X-Frame-Options`, `X-Content-Type-Options`, `Referrer-Policy`, and `Permissions-Policy`.
- **Full CSP Management:** Define your `Content-Security-Policy` (CSP) directly from the dashboard.
- **CSP Violation Reporting:** Includes a built-in endpoint to capture CSP violations from users' browsers. Supported integrations are currently: Sentry; Comming up: RayGun, c/Side.
- **"Click to Allow" Policies:** Add blocked resources to your CSP directly from the statamic dashboard. Carefull! Always review the CSP directives and values before saving your settings.
- **Modern implementation** using Contracts, dynamically injected clients for different reporting platforms, Service containers and Middleware implementation for adding the headers to the responses.
- **One Time** purchase for a single domain.
- **Live Scoring** via MDN Observatory integration

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance63

Regular maintenance activity

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.4% of commits — single point of failure

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 ~2 days

Total

6

Last Release

225d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ef94cb6df1688a6d1287ed31d12ecf056c8359fb5e837e65597b63b7f771c94?d=identicon)[alinandrei](/maintainers/alinandrei)

---

Top Contributors

[![alinescu16](https://avatars.githubusercontent.com/u/119789089?v=4)](https://github.com/alinescu16 "alinescu16 (27 commits)")[![alinwebland](https://avatars.githubusercontent.com/u/266987485?v=4)](https://github.com/alinwebland "alinwebland (5 commits)")

### Embed Badge

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

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

###  Alternatives

[statamic/statamic

Statamic

824170.4k](/packages/statamic-statamic)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[statamic/ssg

Generate static sites with Statamic.

254302.4k](/packages/statamic-ssg)[statamic/eloquent-driver

Allows you to store Statamic data in a database.

125598.8k7](/packages/statamic-eloquent-driver)[statamic/seo-pro

65440.7k](/packages/statamic-seo-pro)[rias/statamic-redirect

28298.4k](/packages/rias-statamic-redirect)

PHPackages © 2026

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