PHPackages                             toastnz/simple-csp - 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. toastnz/simple-csp

ActiveSilverstripe-vendormodule[Security](/categories/security)

toastnz/simple-csp
==================

Simple SilverStripe Content Security Policy Headers

3.0.2(3mo ago)05.3k↓16.7%[1 PRs](https://github.com/toastnz/simple-csp/pulls)BSD-3-ClausePHP

Since Mar 28Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/toastnz/simple-csp)[ Packagist](https://packagist.org/packages/toastnz/simple-csp)[ RSS](/packages/toastnz-simple-csp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (10)Used By (0)

SilverStripe Simple CSP
=======================

[](#silverstripe-simple-csp)

Allow for management and injection of CSP headers

Requirements
------------

[](#requirements)

- silverstripe/cms ^4.3.x
- silverstripe/framework ^4.3.x

Installation
------------

[](#installation)

```
composer require toastnz/simple-csp
```

Configuration and usage
-----------------------

[](#configuration-and-usage)

Configure rules and enable CSP headers within the CMS.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance80

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~281 days

Recently: every ~186 days

Total

6

Last Release

104d ago

Major Versions

1.0.3 → 2.0.02024-01-21

2.0.0 → 3.0.02025-09-17

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/49888163?v=4)[Leandro Palmieri](/maintainers/leandro-toastnz)[@leandro-toastnz](https://github.com/leandro-toastnz)

---

Top Contributors

[![beetpix](https://avatars.githubusercontent.com/u/66008824?v=4)](https://github.com/beetpix "beetpix (4 commits)")

---

Tags

securitysilverstripecspcontent-security-policy

### Embed Badge

![Health badge](/badges/toastnz-simple-csp/health.svg)

```
[![Health](https://phpackages.com/badges/toastnz-simple-csp/health.svg)](https://phpackages.com/packages/toastnz-simple-csp)
```

###  Alternatives

[spatie/laravel-csp

Add CSP headers to the responses of a Laravel app

8569.6M19](/packages/spatie-laravel-csp)[bringyourownideas/silverstripe-maintenance

Toolset to help with the day by day maintenance work.

32221.8k4](/packages/bringyourownideas-silverstripe-maintenance)[bringyourownideas/silverstripe-composer-security-checker

Provides information if your SilverStripe application uses dependencies with known vulnerabilities.

10103.9k2](/packages/bringyourownideas-silverstripe-composer-security-checker)[feejin/silverstripe-securitytemplates

Custom security templates to mirror CMS

128.1k1](/packages/feejin-silverstripe-securitytemplates)

PHPackages © 2026

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