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

Abandoned → [nette/http](/?search=nette%2Fhttp)ArchivedLibrary

adeira/csp
==========

v1.0.4(9y ago)05.5k11BSD-3-ClausePHP

Since Apr 23Pushed 9y agoCompare

[ Source](https://github.com/adeira/csp)[ Packagist](https://packagist.org/packages/adeira/csp)[ RSS](/packages/adeira-csp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (6)Used By (1)

This **package is deprecated** because CSP support has been added to the **nette/http** package in [version 2.4.4](https://github.com/nette/http/releases/tag/v2.4.4)...

**Nette/http** package does have very similar syntax and additionally it support [nonces](https://www.websec.be/blog/cspstrictdynamic/#fixing-broken-whitelists). Here is the future syntax:

```
http:
    csp:
        default-src: "'self' https://example.com"
        upgrade-insecure-requests:
        script-src: 'nonce'
        style-src:
            - self
            - https://example.com
```

Yeah that's right - you don't have to register special extension, because it's already in Nette Framework. Please read more about nonce support in [Nette Framework forum](https://forum.nette.org/en/27918-nette-framework-2-4-2017-01-19#p183884).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

5

Last Release

3404d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fe97c047b464c8f8f3a46dcc5034a5eb0b11edd91328a4c0e101aa2044dab80f?d=identicon)[mrtnzlml](/maintainers/mrtnzlml)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68435.8M592](/packages/nette-bootstrap)[brandembassy/slim-nette-extension

19190.2k](/packages/brandembassy-slim-nette-extension)

PHPackages © 2026

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