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(7mo ago)01.5k—0%2MITPHPPHP &gt;=8.3CI passing

Since May 21Pushed 7mo 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 today

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

44

—

FairBetter than 90% of packages

Maintenance65

Regular maintenance activity

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

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

211d ago

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

1.1.3PHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/122765967?v=4)[phpolar](/maintainers/phpolar)[@phpolar](https://github.com/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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)

PHPackages © 2026

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