PHP code example of hoangnamitc / csrf-token

1. Go to this page and download the library: Download hoangnamitc/csrf-token library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hoangnamitc / csrf-token example snippets






$token->getName();

$token->getToken();

$token->delete();

$token->debug();