PHP code example of ultraleet / verify-once

1. Go to this page and download the library: Download ultraleet/verify-once 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/ */

    

ultraleet / verify-once example snippets


$verifyOnce = new \Ultraleet\VerifyOnce\VerifyOnce([
    'username' => '', // Integrator username
    'password' => '', // Integrator password
]);

$response = $verifyOnce->initiate();

$body = file_get_contents('php://input');
$info = $verifyOnce->verify($body);