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.

13143.3k↓20.7%55[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 2w 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 74% 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

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[sansec/magento2-module-shield

15218.6k](/packages/sansec-magento2-module-shield)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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