PHPackages                             phpolar/csrf-response-filter - 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. phpolar/csrf-response-filter

ActiveLibrary[Security](/categories/security)

phpolar/csrf-response-filter
============================

Adds CSRF tokens to PSR-7 HTTP Responses

1.1.6(5mo ago)01.4k↑50%2MITPHPPHP &gt;=8.3CI passing

Since May 21Pushed 5mo agoCompare

[ Source](https://github.com/phpolar/csrf-response-filter)[ Packagist](https://packagist.org/packages/phpolar/csrf-response-filter)[ RSS](/packages/phpolar-csrf-response-filter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (9)Versions (11)Used By (2)

 [![](./phpolar.svg)](./phpolar.svg)

PHPolar
=======

[](#phpolar)

A minimal PHP framework
-----------------------

[](#a-minimal-php-framework)

[![Coverage Status](https://camo.githubusercontent.com/a954f90ceb33f393072e441a1e6dd576fc5bc7dd1c8d17ffcf624cabe5830c29/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7068706f6c61722f637372662d726573706f6e73652d66696c7465722f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/repos/github/phpolar/csrf-response-filter/badge.svg?branch=main) [![Latest Stable Version](https://camo.githubusercontent.com/f2853e1a20f5d2438886e9c6c9b745d203220886d23349f8699e9a8b133480dc/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f637372662d726573706f6e73652d66696c7465722f76)](https://packagist.org/packages/phpolar/csrf-response-filter) [![Total Downloads](https://camo.githubusercontent.com/393208a14626194180f894f701ebd61ad859f14d201fd5940b36b6ad20de7449/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f637372662d726573706f6e73652d66696c7465722f646f776e6c6f616473)](https://packagist.org/packages/phpolar/csrf-response-filter) [![PHP Version Require](https://camo.githubusercontent.com/cfd7a66021ab5f597d445c034a247e5c5f4e7c5093d89125043d145124f91891/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f637372662d726573706f6e73652d66696c7465722f726571756972652f706870)](https://packagist.org/packages/phpolar/csrf-response-filter)

### Thresholds

[](#thresholds)

Source Code SizeMemory Usage2.1 kB70 kB

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance71

Regular maintenance activity

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 50.4% 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 ~116 days

Recently: every ~79 days

Total

9

Last Release

164d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.1

1.1.3PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f34e51c09f71ccba1670d080b700e489cc2cffd43f4bed7684af4dff0195732?d=identicon)[phpolar](/maintainers/phpolar)

![](https://avatars.githubusercontent.com/u/40972462?v=4)[Eric Fortmeyer](/maintainers/ericfortmeyer)[@ericfortmeyer](https://github.com/ericfortmeyer)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (127 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (72 commits)")[![ericfortmeyer](https://avatars.githubusercontent.com/u/40972462?v=4)](https://github.com/ericfortmeyer "ericfortmeyer (53 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phpolar-csrf-response-filter/health.svg)

```
[![Health](https://phpackages.com/badges/phpolar-csrf-response-filter/health.svg)](https://phpackages.com/packages/phpolar-csrf-response-filter)
```

###  Alternatives

[shieldon/shieldon

Web application firewall for PHP.

87328.2k1](/packages/shieldon-shieldon)[selective/samesite-cookie

Secure your site with SameSite cookies

10144.0k](/packages/selective-samesite-cookie)[swop/github-webhook

Library which deals with incoming GitHub web hooks requests (signature validation &amp; payload parsing)

1119.5k4](/packages/swop-github-webhook)

PHPackages © 2026

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