PHP code example of ziggeo / manifold-php-signature

1. Go to this page and download the library: Download ziggeo/manifold-php-signature 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/ */

    

ziggeo / manifold-php-signature example snippets



Manifold\Verifier\Verifier;

$master_key = "YOUR_MASTER_KEY";
$request_data = $_SERVER;

try {
     $Verifier = new Verifier($master_key);
     $resp = $Verifier->test($request_data); 
} catch (Exception $e) {
     echo $exception->getMessage();
}
bash
composer