Skip to content

Simple Package to generate and validate CSRF Tokens.

Notifications You must be signed in to change notification settings

mhnobakht/csrftoken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSRF Token Generator

Generate and Validate CSRF Tokens to make forms Secure.

Installation

Use the package manager

composer require academy01/csrftoken

Usage

require "vendor/autoload.php";

use Academy01\Csrftoken;;

CsrfToken::generate();

CsrfToken::validate($token);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Simple Package to generate and validate CSRF Tokens.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages