Download the PHP package madeorsk/nocsrf without Composer
On this page you can find all versions of the php package madeorsk/nocsrf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download madeorsk/nocsrf
More information about madeorsk/nocsrf
Files in madeorsk/nocsrf
Download madeorsk/nocsrf
More information about madeorsk/nocsrf
Files in madeorsk/nocsrf
Vendor madeorsk
Package nocsrf
Short Description CSRF Protection Library.
License MIT
Homepage https://github.com/madeorsk/csrf
Package nocsrf
Short Description CSRF Protection Library.
License MIT
Homepage https://github.com/madeorsk/csrf
Please rate this library. Is it a good library?
Informations about the package nocsrf
NoCSRF
Easy as fuck CSRF protection library for PHP based on OWASP recommandations.
Installation
Using composer:
Getting started
Easy example code:
Custom modules
NoCSRF is made of three main components:
- The
KeyGenerator
: generate a key, in the default implementation it is an OpenSSL random key generator. - The
KeyStorage
: store the key used in token generation / verification. The key storage need to keep the key in such a way that it is available for a specific session, but cannot be retrievable by the client. - The
TokenManager
: contain token generation / verification logic. The key is provided.
You can create custom classes for these three components. You can chose which module to use in the NoCSRF initialization:
The components used in this example are the default values.
Full API documentation
Full API documentation is available in GitHub wiki (WIP) or in code documentation.
All versions of nocsrf with dependencies
PHP Build Version
Package Version
The package madeorsk/nocsrf contains the following files
Loading the files please wait ....