PHPackages                             waughj/content-security-policy - 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. waughj/content-security-policy

ActiveLibrary

waughj/content-security-policy
==============================

Class for easy generation o’ Content Security Policy header.

v1.0.0(6y ago)050GPL-3.0-or-laterPHP &gt;=7.2

Since Dec 10Compare

[ Source](https://github.com/waughjai/content-security-policy)[ Packagist](https://packagist.org/packages/waughj/content-security-policy)[ RSS](/packages/waughj-content-security-policy/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (7)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/waughjai/content-security-policy).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity56

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

6

Last Release

2343d ago

Major Versions

v0.4.0 → v1.0.02019-12-10

### Community

Maintainers

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

---

Tags

cspcontent-security-policy

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-csp

Add CSP headers to the responses of a Laravel app

8519.6M19](/packages/spatie-laravel-csp)[bepsvpt/secure-headers

Add security related headers to HTTP response. The package includes Service Providers for easy Laravel integration.

5484.7M9](/packages/bepsvpt-secure-headers)[paragonie/csp-builder

Easily add and update Content-Security-Policy headers for your project

5412.8M18](/packages/paragonie-csp-builder)[aidantwoods/secureheaders

A PHP class aiming to make the use of browser security features more accessible.

433689.3k2](/packages/aidantwoods-secureheaders)[middlewares/csp

Middleware to add the Content-Security-Policy header to the response

1720.6k](/packages/middlewares-csp)[bnomei/kirby3-security-headers

Kirby Plugin for easier Security Headers setup

276.6k](/packages/bnomei-kirby3-security-headers)

PHPackages © 2026

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