1. Go to this page and download the library: Download cecula/vereafy-laravel 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/ */
cecula / vereafy-laravel example snippets
use Illuminate\Guzzlehttp\guzzle;
use GuzzleHttp\Client; // Initialize Guzzle client
use GuzzleHttp\Psr7\Request;
$client = new \GuzzleHttp\Client();
$method = 'POST';
$url = 'https://api.cecula.com/twofactor/init';
$header = Array(
'Content-Type' => 'application/json',
'authorization' => 'Bearer' // Paste your key here
);