2017 © Pedro Peláez
 

library csrf

Simple CSRF token class

image

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

The README.md

CSRF

Simple to use CSRF token class, built by Vundo, (*1)

Latest Stable Version Total Downloads Latest Unstable Version License SensioLabsInsight, (*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


The Versions

04/11 2015

dev-master

9999999-dev

Simple CSRF token class

  Sources   Download

MIT

by Mirko Kroese

security token csrf tokens

04/11 2015

dev-analysis-q5d6lX

dev-analysis-q5d6lX

Simple CSRF token class

  Sources   Download

MIT

by Mirko Kroese

security token csrf tokens

27/10 2015

1.0

1.0.0.0

Simple CSRF token class

  Sources   Download

MIT

by Mirko Kroese

security token csrf tokens