PHPackages                             fantoine/csrf-route-bundle - 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. fantoine/csrf-route-bundle

ActiveSymfony-bundle[Security](/categories/security)

fantoine/csrf-route-bundle
==========================

Symfony2 bundle which provides a simple way to add CSRF tokens to routes

1.0.4(10y ago)35.2kMITPHP &gt;=5.4.0

Since Jan 20Compare

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

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

### README not available

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

3918d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/232827548c39360e4fcf270baeeb46444cfc86d04a11d0a69df155d4cb66ac8a?d=identicon)[fantoine](/maintainers/fantoine)

---

Top Contributors

[![fantoine](https://avatars.githubusercontent.com/u/1149128?v=4)](https://github.com/fantoine "fantoine (26 commits)")

---

Tags

securityroutecsrf

### Embed Badge

![Health badge](/badges/fantoine-csrf-route-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/fantoine-csrf-route-bundle/health.svg)](https://phpackages.com/packages/fantoine-csrf-route-bundle)
```

###  Alternatives

[paragonie/anti-csrf

Paragon Initiative's Anti-CSRF Security Library

307200.6k5](/packages/paragonie-anti-csrf)[owasp/csrf-protector-php

CSRF protector php, a standalone php library for csrf mitigation in web applications. Easy to integrate in any php web app.

222348.3k4](/packages/owasp-csrf-protector-php)[riimu/kit-csrf

Secure and simple CSRF library protected against timing and BREACH attacks

6526.1k](/packages/riimu-kit-csrf)[ayesh/stateless-csrf

Secret-key based state-less CSRF token generator and validator for PHP 8. State-less means you do not have to store the CSRF token in session or database.

3223.3k](/packages/ayesh-stateless-csrf)[dneustadt/csrf-cookie-bundle

CSRF protection cookie for use with XHR

1379.2k1](/packages/dneustadt-csrf-cookie-bundle)

PHPackages © 2026

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