PHPackages                             schnittstabil/psr7-csrf-middleware - 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. schnittstabil/psr7-csrf-middleware

ActiveLibrary[HTTP &amp; Networking](/categories/http)

schnittstabil/psr7-csrf-middleware
==================================

Stateless PSR-7 CSRF (Cross-Site Request Forgery) protection middleware - simple Slim Framework 3 integration.

1.1.1(10y ago)7109.6k1MITPHP &gt;=5.6.0

Since Feb 13Compare

[ Source](https://github.com/schnittstabil/psr7-csrf-middleware)[ Packagist](https://packagist.org/packages/schnittstabil/psr7-csrf-middleware)[ Docs](https://github.com/schnittstabil/psr7-csrf-middleware)[ RSS](/packages/schnittstabil-psr7-csrf-middleware/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (16)Versions (9)Used By (1)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/schnittstabil/psr7-csrf-middleware).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

8

Last Release

3685d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6059032?v=4)[Michael Mayer](/maintainers/schnittstabil)[@schnittstabil](https://github.com/schnittstabil)

---

Tags

psrpsr-7middlewarepsr7slimcsrfexpressivehmacstatelessangularjsxsrfCross-Site-Request-Forgerysession ridingstratigility

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/schnittstabil-psr7-csrf-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/schnittstabil-psr7-csrf-middleware/health.svg)](https://phpackages.com/packages/schnittstabil-psr7-csrf-middleware)
```

###  Alternatives

[psr/http-server-middleware

Common interface for HTTP server-side middleware

18091.2M1.5k](/packages/psr-http-server-middleware)[mezzio/mezzio

PSR-15 Middleware Microframework

3883.6M97](/packages/mezzio-mezzio)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.0M61](/packages/mezzio-mezzio-router)[schnittstabil/csrf-tokenservice

Stateless CSRF (Cross-Site Request Forgery) token service.

19160.0k2](/packages/schnittstabil-csrf-tokenservice)[mezzio/mezzio-helpers

Helper/Utility classes for Mezzio

134.3M67](/packages/mezzio-mezzio-helpers)[mezzio/mezzio-fastroute

FastRoute integration for Mezzio

162.7M52](/packages/mezzio-mezzio-fastroute)

PHPackages © 2026

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