1. Go to this page and download the library: Download leonmelis/uq_free 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/ */
$provider = new UQ_free\ServiceProvider($uuid, $api_key);
// Optionally, you can remote fetch the ServiceProvider object
// to get additional data, such as the name.
$provider->fetch();
echo "Using provider {$provider->getName()}\n";
// To create a new asset
$identification = $provider->createIdentification();
echo "Identify with: '{$identification->getNonceFormatted()}'\n";
// Wait for callback, then we can fetch the asset
$asset = $identification->fetchAsset();