PHPackages                             witchiiwork/php-csrf - 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. witchiiwork/php-csrf

ActiveLibrary[Security](/categories/security)

witchiiwork/php-csrf
====================

A CSRF package to easily integrate CSRF protection.

1.0.0(6y ago)016MITPHP

Since Dec 15Pushed 6y agoCompare

[ Source](https://github.com/witchiiwork/php-csrf)[ Packagist](https://packagist.org/packages/witchiiwork/php-csrf)[ RSS](/packages/witchiiwork-php-csrf/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

php-csrf
========

[](#php-csrf)

A PHP package to easily integrate cross-site request forgery (CSRF) protection.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

2392d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38004843?v=4)[witchiiwork](/maintainers/witchiiwork)[@witchiiwork](https://github.com/witchiiwork)

---

Top Contributors

[![witchiiwork](https://avatars.githubusercontent.com/u/38004843?v=4)](https://github.com/witchiiwork "witchiiwork (1 commits)")

### Embed Badge

![Health badge](/badges/witchiiwork-php-csrf/health.svg)

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

###  Alternatives

[mews/purifier

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

2.0k18.7M142](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k37](/packages/paragonie-ecc)

PHPackages © 2026

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