<?php require __DIR__ . "/../lib/vendor/autoload.php"; use Genetsis\Identity; use Genetsis\URLBuilder; use Genetsis\UserApi; try { Identity::init(); } catch (Exception $e) { echo $e->getMessage() . "\n" . $e->getTraceAsString(); die; } ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>DRUId SDK integration example</title> </head> <body> <a href="http://developers.dru-id.com/" style="max-height: 88px;" target="_blank"> <img width="300" height="100" alt="DRUID Developers" src="/assets/img/Druid_logo_solo.png" style="max-height: 88px;"> </a> <h1>Welcome to DRUID</h1> <h2>Se how easy is integrate DRUID with your applications using the php SDK</h2> <h3>(you have more examples available at <a href="http://developers.dru-id.com/sdks/php-sdk/sdk-code-examples/">http://developers.dru-id.com/sdks/php-sdk/sdk-code-examples/</a>)</h3> <h4>This page demostrates how to create login and registration links for not connected users, and show logout link and retrieve user email when user is connected:</h4>