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

Abandoned → [adeira/csp](/?search=adeira%2Fcsp)ArchivedLibrary

mrtnzlml/csp
============

v1.0.3(9y ago)01.9k1BSD-3-ClausePHP

Since Apr 23Pushed 9y agoCompare

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

READMEChangelogDependencies (4)Versions (5)Used By (0)

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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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

Total

4

Last Release

3494d 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/mrtnzlml-csp/health.svg)

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

PHPackages © 2026

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