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

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

zakirullin/csrf-middleware
==========================

PSR-15 middleware to handle CSRF-token verification

0.6.2(7y ago)3300MITPHP ^7.1

Since May 11Compare

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

READMEChangelogDependencies (6)Versions (9)Used By (0)

### README not available

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Recently: every ~86 days

Total

8

Last Release

2571d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/44e326ab3bffd640b622d3cecba8f5fc99bc0ec657ae59f841e871dbdead08ac?d=identicon)[zakirullin](/maintainers/zakirullin)

---

Top Contributors

[![zakirullin](https://avatars.githubusercontent.com/u/3357383?v=4)](https://github.com/zakirullin "zakirullin (43 commits)")

---

Tags

httppsr-7middlewareservertokenpsr-15csrf

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[middlewares/request-handler

Middleware to execute request handlers

451.6M25](/packages/middlewares-request-handler)[middlewares/fast-route

Middleware to use FastRoute

96191.1k15](/packages/middlewares-fast-route)[middlewares/negotiation

Middleware to implement content negotiation

47442.1k10](/packages/middlewares-negotiation)[middlewares/payload

Middleware to parse the body of the request with support for json, csv and url-encode

32466.8k16](/packages/middlewares-payload)[middlewares/http-authentication

Middleware to implement Basic and Digest Http authentication

35302.0k2](/packages/middlewares-http-authentication)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

121.6M26](/packages/mezzio-mezzio-authentication)

PHPackages © 2026

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