PHPackages                             bepsvpt/csp-builder - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. bepsvpt/csp-builder

Abandoned → [please upgrade bepsvpt/secure-headers to latest version](/?search=please%20upgrade%20bepsvpt%2Fsecure-headers%20to%20latest%20version)ArchivedLibrary[HTTP &amp; Networking](/categories/http)

bepsvpt/csp-builder
===================

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

1.0.1(8y ago)578.4k1MITPHPPHP ^7.0

Since Jul 25Pushed 8y agoCompare

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

READMEChangelogDependencies (3)Versions (3)Used By (0)

Content Security Policy Builder
===============================

[](#content-security-policy-builder)

Integrate for [secure-headers](https://github.com/BePsvPT/secure-headers) package.

Version
-------

[](#version)

1.0.1

Acknowledge
-----------

[](#acknowledge)

This package is fork from [paragonie/csp-builder](https://github.com/paragonie/csp-builder), thanks Paragon Initiative Enterprises building this package.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 51.9% 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 ~0 days

Total

2

Last Release

3219d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2992b53ce2e5b5f0939ba8120aa411900c574f324d682d38a33aae9094c32e3c?d=identicon)[bepsvpt](/maintainers/bepsvpt)

---

Top Contributors

[![paragonie-scott](https://avatars.githubusercontent.com/u/11591518?v=4)](https://github.com/paragonie-scott "paragonie-scott (42 commits)")[![bepsvpt](https://avatars.githubusercontent.com/u/8221099?v=4)](https://github.com/bepsvpt "bepsvpt (27 commits)")[![paragonie-security](https://avatars.githubusercontent.com/u/15914520?v=4)](https://github.com/paragonie-security "paragonie-security (5 commits)")[![Furgas](https://avatars.githubusercontent.com/u/715407?v=4)](https://github.com/Furgas "Furgas (4 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (2 commits)")[![ruudy-es](https://avatars.githubusercontent.com/u/6099611?v=4)](https://github.com/ruudy-es "ruudy-es (1 commits)")

---

Tags

httpsecurityheaderscspcontent-security-policyxss

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[paragonie/csp-builder

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

5412.8M18](/packages/paragonie-csp-builder)[spatie/laravel-csp

Add CSP headers to the responses of a Laravel app

8569.6M19](/packages/spatie-laravel-csp)[nette/http

🌐 Nette Http: abstraction for HTTP request, response and session. Provides careful data sanitization and utility for URL and cookies manipulation.

48819.2M541](/packages/nette-http)[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)[delight-im/cookie

Modern cookie management for PHP

1681.2M12](/packages/delight-im-cookie)[middlewares/csp

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

1720.6k](/packages/middlewares-csp)

PHPackages © 2026

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