library csrf
Simple CSRF token class
vundo/csrf
Simple CSRF token class
- Wednesday, November 4, 2015
- by janyksteenbeek
- Repository
- 3 Watchers
- 0 Stars
- 5 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
CSRF
Simple to use CSRF token class, built by Vundo, (*1)
, (*2)
Install
You can install the package via Composer by running composer require vundo/csrf or by adding "vundo/csrf": "dev-master" into your require section in your composer.json file. After that, please require the Composer autoloader into your PHP project., (*3)
Generate token
To generate a token, use Vundo\CSRF\CSRF::generate();, (*4)
Example
Form
EOT;
?>
, (*5)
Check token
To check a token, use Vundo\CSRF\CSRF::check($token);, (*6)
Example
dev-master
9999999-dev
Simple CSRF token class
Sources
Download
MIT
by
Mirko Kroese
security
token
csrf
tokens
dev-analysis-q5d6lX
dev-analysis-q5d6lX
Simple CSRF token class
Sources
Download
MIT
by
Mirko Kroese
security
token
csrf
tokens
1.0
1.0.0.0
Simple CSRF token class
Sources
Download
MIT
by
Mirko Kroese
security
token
csrf
tokens