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(4mo ago)06.1k↓42%[1 PRs](https://github.com/toastnz/simple-csp/pulls)BSD-3-ClausePHP

Since Mar 28Pushed 4mo 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 yesterday

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

43

—

FairBetter than 89% of packages

Maintenance74

Regular maintenance activity

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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

149d 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

86611.1M25](/packages/spatie-laravel-csp)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[bringyourownideas/silverstripe-maintenance

Toolset to help with the day by day maintenance work.

32224.8k5](/packages/bringyourownideas-silverstripe-maintenance)[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)
