PHPackages                             romeoz/rock-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. romeoz/rock-csrf

ActiveLibrary[Security](/categories/security)

romeoz/rock-csrf
================

CSRF module for Rock Framework

0.12.0(10y ago)05321MITPHPPHP &gt;=5.4.0

Since Mar 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/romeOz/rock-csrf)[ Packagist](https://packagist.org/packages/romeoz/rock-csrf)[ RSS](/packages/romeoz-rock-csrf/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (7)Used By (1)

CSRF module for [Rock Framework](https://github.com/romeOz/rock)
================================================================

[](#csrf-module-for-rock-framework)

[![Build Status](https://camo.githubusercontent.com/447f45c38b52e956b8ede86f5a04d7bd9fcd1603b636e27143572f30d7deccff/68747470733a2f2f7472617669732d63692e6f72672f726f6d654f7a2f726f636b2d637372662e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/romeOz/rock-csrf)[![HHVM Status](https://camo.githubusercontent.com/87a9020edf8a389464d8858a2e583fb1d25e46f9f3d23a392b78bf40b283f99d/687474703a2f2f6868766d2e683463632e64652f62616467652f726f6d656f7a2f726f636b2d637372662e737667)](http://hhvm.h4cc.de/package/romeoz/rock-csrf)[![Coverage Status](https://camo.githubusercontent.com/47bcd94abc74201386d0d0727c89b52a4164e94d6ff076c172b4bc7f8418e018/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f726f6d654f7a2f726f636b2d637372662f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/romeOz/rock-csrf?branch=master)[![License](https://camo.githubusercontent.com/a20d7c99c4e11c5580c3abc63e6fbbd3a037ad399e3d54485b8c94b7c6073ee0/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2d637372662f6c6963656e73652e737667)](https://packagist.org/packages/romeOz/rock-csrf)

Requirements
------------

[](#requirements)

- **PHP 5.4+**

License
-------

[](#license)

CSRF module for [Rock Framework](https://github.com/romeOz/rock) is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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

Recently: every ~37 days

Total

6

Last Release

3843d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23c5d84a59845d751cb69f5469986579b9312c54c898b366fefdc05baaa80a9c?d=identicon)[romeOz](/maintainers/romeOz)

---

Top Contributors

[![romeOz](https://avatars.githubusercontent.com/u/3135712?v=4)](https://github.com/romeOz "romeOz (20 commits)")

---

Tags

securitycsrf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/romeoz-rock-csrf/health.svg)

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

###  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)
