PHPackages                             grafikart/psr15-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. [Security](/categories/security)
4. /
5. grafikart/psr15-csrf-middleware

ActiveLibrary[Security](/categories/security)

grafikart/psr15-csrf-middleware
===============================

A PSR-15 compatible middleware to prevent CSRF

1.0.2(7y ago)71.1k1MITPHP &gt;=7.1.0

Since Aug 23Compare

[ Source](https://github.com/Grafikart/PSR15-CsrfMiddleware)[ Packagist](https://packagist.org/packages/grafikart/psr15-csrf-middleware)[ RSS](/packages/grafikart-psr15-csrf-middleware/feed)WikiDiscussions Synced yesterday

READMEChangelogDependencies (5)Versions (4)Used By (1)

### README not available

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~223 days

Total

3

Last Release

2738d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cd70c0803507f77fbf9df2faae5b10589547fc9ede7bc718ae2c69174eb930e?d=identicon)[Grafikart](/maintainers/Grafikart)

---

Top Contributors

[![Grafikart](https://avatars.githubusercontent.com/u/395137?v=4)](https://github.com/Grafikart "Grafikart (6 commits)")[![beMang](https://avatars.githubusercontent.com/u/34446268?v=4)](https://github.com/beMang "beMang (1 commits)")[![betaWeb](https://avatars.githubusercontent.com/u/13481208?v=4)](https://github.com/betaWeb "betaWeb (1 commits)")[![Girgias](https://avatars.githubusercontent.com/u/7906688?v=4)](https://github.com/Girgias "Girgias (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[selective/samesite-cookie

Secure your site with SameSite cookies

10144.0k](/packages/selective-samesite-cookie)[acmephp/ssl

PHP wrapper around OpenSSL extension providing SSL encoding, decoding, parsing and signing features

141.2M4](/packages/acmephp-ssl)

PHPackages © 2026

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