PHPackages                             bkcore/nocsrf - 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. bkcore/nocsrf

ActiveLibrary[Security](/categories/security)

bkcore/nocsrf
=============

A simple anti-CSRF token generation/checking class written in PHP5.

13342.9k↓20.8%54[5 issues](https://github.com/BKcore/NoCSRF/issues)[2 PRs](https://github.com/BKcore/NoCSRF/pulls)PHP

Since Dec 20Pushed 5y ago16 watchersCompare

[ Source](https://github.com/BKcore/NoCSRF)[ Packagist](https://packagist.org/packages/bkcore/nocsrf)[ RSS](/packages/bkcore-nocsrf/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#NoCSRF, a simple PHP5 token class to prevent CSRF attacks.

- [Website](http://bkcore.com/blog/code/nocsrf-php-class.html)
- Author: Thibaut Despoulain
- Version: 1.0
- Licensed under the MIT license

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb5c8fcae68e76d4d6187e8eeb7a7969bb89ed8162d5b5139ed7300baeafd117?d=identicon)[BKcore](/maintainers/BKcore)

---

Top Contributors

[![BKcore](https://avatars.githubusercontent.com/u/658297?v=4)](https://github.com/BKcore "BKcore (5 commits)")[![jfexyz](https://avatars.githubusercontent.com/u/66879?v=4)](https://github.com/jfexyz "jfexyz (2 commits)")

### Embed Badge

![Health badge](/badges/bkcore-nocsrf/health.svg)

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

###  Alternatives

[mews/purifier

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

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

PHP Elliptic Curve Cryptography library

24820.0k38](/packages/paragonie-ecc)[laravelgems/blade-escape

Custom blade directives to figth against XSS

1212.5k](/packages/laravelgems-blade-escape)

PHPackages © 2026

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