PHPackages                             xudid/csrfmiddleware - 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. xudid/csrfmiddleware

ActiveLibrary[Security](/categories/security)

xudid/csrfmiddleware
====================

A CSRF Middleware

0.0.0.2(3y ago)09MITPHP

Since Apr 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/xudid/csrfmiddleware)[ Packagist](https://packagist.org/packages/xudid/csrfmiddleware)[ RSS](/packages/xudid-csrfmiddleware/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

csrfmiddleware
==============

[](#csrfmiddleware)

A CSRF Middleware

[![Unit Tests](https://github.com/xudid/csrfmiddleware/actions/workflows/php.yml/badge.svg)](https://github.com/xudid/csrfmiddleware/actions/workflows/php.yml/badge.svg)

###  Health Score

18

—

LowBetter than 7% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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

Total

2

Last Release

1206d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f769aa36c5d6873e61ffe6edd7653d4a1e0b925d6dc1ed584941da271d7c563?d=identicon)[xudid](/maintainers/xudid)

---

Top Contributors

[![xudid](https://avatars.githubusercontent.com/u/5628783?v=4)](https://github.com/xudid "xudid (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xudid-csrfmiddleware/health.svg)

```
[![Health](https://phpackages.com/badges/xudid-csrfmiddleware/health.svg)](https://phpackages.com/packages/xudid-csrfmiddleware)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.9k20.0M1.9k](/packages/cakephp-cakephp)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[cakephp/authentication

Authentication plugin for CakePHP

1214.3M118](/packages/cakephp-authentication)[typo3/cms-core

TYPO3 CMS Core

3313.6M5.6k](/packages/typo3-cms-core)[typo3/cms-adminpanel

TYPO3 CMS Admin Panel - The Admin Panel displays information about your site in the frontend and contains a range of metrics including debug and caching information.

115.8M71](/packages/typo3-cms-adminpanel)[flowd/phirewall

A PHP Firewall and rate limiter based on PSR-7 and PSR-15 middleware (safelists, blocklists, throttles, fail2ban)

179.1k8](/packages/flowd-phirewall)

PHPackages © 2026

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